diff --git a/sdk/tools/hhpcomp/CMakeLists.txt b/sdk/tools/hhpcomp/CMakeLists.txt index 50fd03c94ef..a3f7e9d749a 100644 --- a/sdk/tools/hhpcomp/CMakeLists.txt +++ b/sdk/tools/hhpcomp/CMakeLists.txt @@ -16,9 +16,6 @@ add_executable(hhpcomp ${SOURCE}) target_link_libraries(hhpcomp) if(MSVC) - # Disable warning "'x': unreferenced local variable" - target_compile_options(hhpcomp PRIVATE "/wd4101") - # Disable warning "'=': conversion from 'a' to 'b', possible loss of data" target_compile_options(hhpcomp PRIVATE "/wd4244") endif() diff --git a/sdk/tools/hhpcomp/chmc/chmc.c b/sdk/tools/hhpcomp/chmc/chmc.c index f96ff11673e..9c0e0217d80 100644 --- a/sdk/tools/hhpcomp/chmc/chmc.c +++ b/sdk/tools/hhpcomp/chmc/chmc.c @@ -668,7 +668,9 @@ int chmc_system_done(struct chmcFile *chm) sysp = malloc(16384); if (sysp) { UInt32 val; +#ifndef __REACTOS__ UInt16 code, len; +#endif const char *entry_val; p = chmc_syscat_mem(sysp, &system->version, sizeof(system->version));