mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
The C99 standard states:
6.8.6.4 The return statement Constraints
A return statement with an expression shall not appear in a function
whose return type is void. A return statement without an expression
shall only appear in a function whose return type is void.
And when `-pedantic` is enabled the compiler gives an error.
Signed-off-by: Yoctopuce <dev@yoctopuce.com>
This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.