Explorar el Código

Merge pull request #6378 from braewoods/warnings

suppress -Wimplicit-fallthrough warning
TW hace 3 años
padre
commit
34261aac0e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
+            ++p; // fallthrough (suppresses -Wimplicit-fallthrough)
 
         default:
             if((size_t)(pe - p) < trail) { goto _out; }