https://git.reactos.org/?p=reactos.git;a=commitdiff;h=770b3a3ce585df4ad0adbd...
commit 770b3a3ce585df4ad0adbd636c663b68e53f117d Author: Serge Gautherie 32623169+SergeGautherie@users.noreply.github.com AuthorDate: Wed Nov 16 22:19:52 2022 +0100 Commit: GitHub noreply@github.com CommitDate: Wed Nov 16 22:19:52 2022 +0100
[HHPCOMP:CHMC] chmc_crunch_lzx(): Disable a dead check (#4880)
CORE-18642 --- sdk/tools/hhpcomp/chmc/chmc.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sdk/tools/hhpcomp/chmc/chmc.c b/sdk/tools/hhpcomp/chmc/chmc.c index 9c0e0217d80..60250312809 100644 --- a/sdk/tools/hhpcomp/chmc/chmc.c +++ b/sdk/tools/hhpcomp/chmc/chmc.c @@ -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];