]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Revert "Reorder declaration"
authorGeorge Lu <gclu@fb.com>
Mon, 13 Aug 2018 23:15:34 +0000 (16:15 -0700)
committerGeorge Lu <gclu@fb.com>
Mon, 13 Aug 2018 23:15:34 +0000 (16:15 -0700)
This reverts commit 3ac2c22485ab5508f47e3eab642b787af0e68b5f.

tests/paramgrill.c

index bcb6bcae3656a4859e595dd361380e64138f7463..e530af735eb79b148bdcb2ed43b63e0d9c4d0b16 100644 (file)
@@ -2256,9 +2256,8 @@ int main(int argc, const char** argv)
                             g_params.strategy = (ZSTD_strategy)readU32FromChar(&argument);
                             continue;
                         case 'L':
-                            {   int cLevel;
-                                argument++;
-                                cLevel = readU32FromChar(&argument);
+                            {   argument++;
+                                int const cLevel = readU32FromChar(&argument);
                                 g_params = ZSTD_getCParams(cLevel, g_blockSize, 0);
                                 continue;
                             }