mirror of
https://github.com/borgbackup/borg.git
synced 2024-11-05 03:25:19 +03:00
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:
parent
49de070799
commit
4a55d9de3c
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user