mirror of https://github.com/borgbackup/borg.git
[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:
parent
450610b168
commit
8b4c501d8d
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue