Merge pull request #4252 from douzzer/gcc-11-fix-pedantic-fallthrough

fix FALL_THROUGH for gcc-11 -pedantic
This commit is contained in:
JacobBarthelmeh
2021-07-27 22:07:01 +07:00
committed by GitHub

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