The algorithm seems to be sufficiently well tested now. And the data is
checked with SHA-1 message digests anyway. This slightly improves LZX
compression performance.
* 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;
"data verification!");
}
}
+#endif
return compressed_size;
}