]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Avoid obfuscating use of default case in inftrees.c.
authorMark Adler <madler@alumni.caltech.edu>
Fri, 14 Oct 2016 20:30:18 +0000 (13:30 -0700)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Wed, 1 Feb 2017 11:08:52 +0000 (12:08 +0100)
inftrees.c

index 198428ec7278c4c6a4a4a805cbd04e0faad688af..5bb3cc5d3a7e5faa07256268fc75279e1e1731f3 100644 (file)
@@ -181,7 +181,7 @@ int ZLIB_INTERNAL inflate_table(codetype type, uint16_t *lens, unsigned codes,
         extra = lext;
         match = 257;
         break;
-    default:            /* DISTS */
+    case DISTS:
         base = dbase;
         extra = dext;
         match = 0;