wolfcrypt/types.h: fix FALL_THROUGH macro to work warning-free on gcc-11.

This commit is contained in:
Daniel Pouzzner
2021-07-26 12:08:56 -05:00
parent 028c056c55
commit af3a10ed83

View File

@ -300,7 +300,7 @@ decouple library dependencies with standard string, memory and so on.
#if defined(WOLFSSL_LINUXKM) && defined(fallthrough) #if defined(WOLFSSL_LINUXKM) && defined(fallthrough)
#define FALL_THROUGH fallthrough #define FALL_THROUGH fallthrough
#else #else
#define FALL_THROUGH __attribute__ ((fallthrough)); #define FALL_THROUGH ; __attribute__ ((fallthrough))
#endif #endif
#endif #endif
#endif #endif