Closed FrancescAlted closed 4 years ago
Thanks for pointing the issue out. I fixed the warnings without using __attribute__ ((fallthrough))
:
https://github.com/inikep/lizard/commit/dda3b335e92ecd5caceccc9c577b39dd4e3c9950
Ok, so it is good to know that a fallthrough
comment is enough :-)
Hi. While trying to make C-Blosc2 as free of warnings as possible I fixed a fall-through warning in Lizard that only shows up in GCC. The fix here works for GCC, Clang and MSVC (for a detailed discussion see https://dzone.com/articles/implicit-fallthrough-in-gcc-7).