Skip to content

Conversation

mengguang
Copy link

No return statement in a value-returning function is a undefined behavior.
It's not only cause warning messages, but also cause serious bug in STM32 Arduino environment.
https://stackoverflow.com/questions/1610030/why-does-flowing-off-the-end-of-a-non-void-function-without-returning-a-value-no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant