]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Use Unused Variable 2122/head
authorW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 20:42:15 +0000 (16:42 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 20:43:39 +0000 (16:43 -0400)
programs/zstdcli.c

index 81f1910c2029865b1d0eafc06d6d3f015a195b0e..4a1e3193d3889890db6b55148cbdef333775cfd6 100644 (file)
@@ -1285,7 +1285,8 @@ int main(int const argCount, const char* argv[])
 
         /* Compare strategies constant with the ground truth */
         { ZSTD_bounds strategyBounds = ZSTD_cParam_getBounds(ZSTD_c_strategy);
-          assert(ZSTD_NB_STRATEGIES == strategyBounds.upperBound);}
+          assert(ZSTD_NB_STRATEGIES == strategyBounds.upperBound);
+          (void)strategyBounds; }
 
         if (showDefaultCParams) {
             size_t fileNb;