suppress -Wimplicit-fallthrough warning

These instances of implicit switch case fallthrough appear to be
intentional. Add comments that the compiler understands to suppress
the false positive warning.
This commit is contained in:
James Buren 2022-02-26 21:09:05 -06:00
parent 49de070799
commit 4a55d9de3c

View File

@ -196,7 +196,7 @@ static inline int unpack_execute(unpack_context* ctx, const char* data, size_t l
_fixed_trail_again:
++p;
++p; // fallthrough (suppresses -Wimplicit-fallthrough)
default:
if((size_t)(pe - p) < trail) { goto _out; }