فهرست منبع

Merge pull request #6378 from braewoods/warnings

suppress -Wimplicit-fallthrough warning
TW 3 سال پیش
والد
کامیت
34261aac0e
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;
+            ++p; // fallthrough (suppresses -Wimplicit-fallthrough)
 
         default:
             if((size_t)(pe - p) < trail) { goto _out; }