Преглед на файлове

Merge pull request #6426 from braewoods/warnings

properly suppress -Wimplicit-fallthrough
TW преди 3 години
родител
ревизия
c1fc1df5e8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/borg/cache_sync/unpack_template.h

+ 1 - 1
src/borg/cache_sync/unpack_template.h

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