diff options
author | Denys Vlasenko | 2010-05-30 04:50:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-30 04:50:21 +0200 |
commit | acaaca839abada0d0718375ba03dcaeddda15d9e (patch) | |
tree | 73f1a0603b61c17156878aee1c7d234e61dd6e19 /archival/libunarchive/unxz/xz_dec_lzma2.c | |
parent | 6948f210ed443f8153e0ba751e77bec8a0c6c8d4 (diff) | |
download | busybox-acaaca839abada0d0718375ba03dcaeddda15d9e.zip busybox-acaaca839abada0d0718375ba03dcaeddda15d9e.tar.gz |
unxz: remove debugging. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libunarchive/unxz/xz_dec_lzma2.c')
-rw-r--r-- | archival/libunarchive/unxz/xz_dec_lzma2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archival/libunarchive/unxz/xz_dec_lzma2.c b/archival/libunarchive/unxz/xz_dec_lzma2.c index 890141b..c22dc5b 100644 --- a/archival/libunarchive/unxz/xz_dec_lzma2.c +++ b/archival/libunarchive/unxz/xz_dec_lzma2.c @@ -1117,10 +1117,8 @@ XZ_EXTERN enum xz_ret XZ_FUNC xz_dec_lzma2_reset( struct xz_dec_lzma2 *s, uint8_t props) { /* This limits dictionary size to 3 GiB to keep parsing simpler. */ - if (props > 39) { - XZ_DEBUG_MSG("props:%d", props); + if (props > 39) return XZ_OPTIONS_ERROR; - } s->dict.size = 2 + (props & 1); s->dict.size <<= (props >> 1) + 11; |