if (params == NULL) {
LZX_DEBUG("Using default algorithm and parameters.");
- params = &slow_default;
+ params = &fast_default;
}
if (params->algorithm != WIMLIB_LZX_ALGORITHM_SLOW &&
void * const restrict compressed_data)
{
int ret;
- struct wimlib_lzx_context *ctx;
+ struct wimlib_lzx_context *ctx = NULL;
unsigned compressed_len;
ret = wimlib_lzx_alloc_context(NULL, &ctx);