diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-11 23:09:24 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-11 23:09:24 +0300 |
commit | 16e8b98f2659347edfa74afdbbb9e73311153cb9 (patch) | |
tree | ce4854681c4bf310da7f8774840924848626d3ed /src | |
parent | Remove bogus #includes. (diff) | |
download | xz-16e8b98f2659347edfa74afdbbb9e73311153cb9.tar.xz |
Remove a check from Block encoder that should have already
been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/common/block_encoder.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/liblzma/common/block_encoder.c b/src/liblzma/common/block_encoder.c index ee75033a..7dffbb82 100644 --- a/src/liblzma/common/block_encoder.c +++ b/src/liblzma/common/block_encoder.c @@ -175,11 +175,6 @@ lzma_block_encoder_init(lzma_next_coder *next, lzma_allocator *allocator, { lzma_next_coder_init(lzma_block_encoder_init, next, allocator); - // While lzma_block_total_size_get() is meant to calculate the Total - // Size, it also validates the options excluding the filters. - if (lzma_block_total_size_get(options) == 0) - return LZMA_PROG_ERROR; - // If the Check ID is not supported, we cannot calculate the check and // thus not create a proper Block. if ((unsigned)(options->check) > LZMA_CHECK_ID_MAX) |