X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flzx-compress.c;h=8f70abb748fbbb4ffd19c396fe0496d0d4f5f7af;hp=b337697eda3abb8688d33ddc4c14863f37dbfd25;hb=5448b9cd60e9b1ebf4efcd2d1b2aac346b2e829c;hpb=e45e06eefdf6dfe67378b619037412cdd3ad27e8 diff --git a/src/lzx-compress.c b/src/lzx-compress.c index b337697e..8f70abb7 100644 --- a/src/lzx-compress.c +++ b/src/lzx-compress.c @@ -1592,11 +1592,7 @@ lzx_compress(const void *uncompressed_data, size_t uncompressed_size, * Although this could be disabled by default in all cases, it only * takes around 2-3% of the running time of the slow algorithm to do the * verification. */ - if (ctx->params.algorithm == WIMLIB_LZX_ALGORITHM_SLOW - #if defined(ENABLE_LZX_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION) - || 1 - #endif - ) +#if defined(ENABLE_LZX_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION) { struct wimlib_decompressor *decompressor; @@ -1630,6 +1626,7 @@ lzx_compress(const void *uncompressed_data, size_t uncompressed_size, "data verification!"); } } +#endif return compressed_size; }