zlib: enumeration values not explicitly handled in switch warning

This commit is contained in:
Philippe Teuwen 2019-10-26 18:34:04 +02:00
commit c523980d99
2 changed files with 6 additions and 1 deletions

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;