diff options
author | Denys Vlasenko | 2013-11-29 16:43:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-11-29 16:43:33 +0100 |
commit | 9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (patch) | |
tree | a950fa73740d345e11ba1ce90f4fc39ee12516e6 /archival/libarchive/decompress_gunzip.c | |
parent | 1a7256ac38284caffd2a0de2250364369059be69 (diff) | |
download | busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.zip busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.gz |
fix assorted unused code and wrong format specs found by cppchekc (bug 6716)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/decompress_gunzip.c')
-rw-r--r-- | archival/libarchive/decompress_gunzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c index 4e6b138..7c6f38e 100644 --- a/archival/libarchive/decompress_gunzip.c +++ b/archival/libarchive/decompress_gunzip.c @@ -336,7 +336,7 @@ static int huft_build(const unsigned *b, const unsigned n, } /* Find minimum and maximum length, bound *m by those */ - for (j = 1; (c[j] == 0) && (j <= BMAX); j++) + for (j = 1; (j <= BMAX) && (c[j] == 0); j++) continue; k = j; /* minimum code length */ for (i = BMAX; (c[i] == 0) && i; i--) |