mirror of https://github.com/borgbackup/borg.git
Merge pull request #6426 from braewoods/warnings
properly suppress -Wimplicit-fallthrough
This commit is contained in:
commit
c1fc1df5e8
|
@ -196,7 +196,7 @@ static inline int unpack_execute(unpack_context* ctx, const char* data, size_t l
|
||||||
|
|
||||||
|
|
||||||
_fixed_trail_again:
|
_fixed_trail_again:
|
||||||
++p; // fallthrough (suppresses -Wimplicit-fallthrough)
|
++p; // fallthrough
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if((size_t)(pe - p) < trail) { goto _out; }
|
if((size_t)(pe - p) < trail) { goto _out; }
|
||||||
|
|
Loading…
Reference in New Issue