zlib: enumeration values not explicitly handled in switch warning

This commit is contained in:
Philippe Teuwen committed 2019-10-26 18:34:04 +02:00
1 parent 5ef4d6dbbb
commit c523980d99
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -191,7 +191,8 @@ int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
extra = lext;
match = 257;
break;
default: /* DISTS */
case DISTS:
default:
base = dbase;
extra = dext;
match = 0;