aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-15 07:44:59 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-15 07:44:59 +0200
commit78e85cb1a7667c54853670d2eb09d754bcbda87d (patch)
tree9d2c468a3653c5a95694b0c30a27f48bc1ef6b17 /src/liblzma/common
parentFix typo in test_index.c. (diff)
downloadxz-78e85cb1a7667c54853670d2eb09d754bcbda87d.tar.xz
Fix CRC code in case --enable-small is used.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/init_decoder.c2
-rw-r--r--src/liblzma/common/init_encoder.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/liblzma/common/init_decoder.c b/src/liblzma/common/init_decoder.c
index 2d61b451..e319b2f8 100644
--- a/src/liblzma/common/init_decoder.c
+++ b/src/liblzma/common/init_decoder.c
@@ -25,9 +25,7 @@ lzma_init_decoder(void)
{
// So far there's no decoder-specific stuff to initialize.
-#ifdef HAVE_CHECK
lzma_init_check();
-#endif
return;
}
diff --git a/src/liblzma/common/init_encoder.c b/src/liblzma/common/init_encoder.c
index 13873aad..ec9fee6e 100644
--- a/src/liblzma/common/init_encoder.c
+++ b/src/liblzma/common/init_encoder.c
@@ -29,9 +29,7 @@ lzma_init_encoder(void)
if (already_initialized)
return;
-#ifdef HAVE_CHECK
lzma_init_check();
-#endif
#if defined(HAVE_SMALL) && defined(HAVE_ENCODER) && defined(HAVE_FILTER_LZMA)
lzma_rc_init();