[HHPCOMP:CHMC] chmc_crunch_lzx(): Disable a dead check (#4880)

CORE-18642
This commit is contained in:
Serge Gautherie 2022-11-16 22:19:52 +01:00 committed by GitHub
parent 04b2d35f5b
commit 770b3a3ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -939,10 +939,12 @@ int chmc_crunch_lzx(struct chmcFile *chm, int sect_id)
assert(chm);
#ifndef __REACTOS__
if ((wsize_code < 15) || (wsize_code > 21)) {
fprintf(stderr, "window size must be between 15 and 21 inclusive\n");
return CHMC_EINVAL;
}
#endif
lzx_info.chm = chm;
lzx_info.section = chm->sections[sect_id];