[1.2-maint] Backport implicit warning patches from master (#6427)

* 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:
braewoods 2022-03-09 09:10:21 -06:00 committed by GitHub
parent 450610b168
commit 8b4c501d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
default:
if((size_t)(pe - p) < trail) { goto _out; }