mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py, extmod: Introduce and use MP_FALLTHROUGH macro.
Newer GCC versions are able to warn about switch cases that fall through. This is usually a sign of a forgotten break statement, but in the few cases where a fall through is intended we annotate it with this macro to avoid the warning.
This commit is contained in:
Reference in New Issue
Block a user