summaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorEric Andersen2004-08-28 00:43:07 +0000
committerEric Andersen2004-08-28 00:43:07 +0000
commitb225e2a76bcd2b1f3f919a09dba1e186c0d4fa65 (patch)
treecb40909520a92fd5c133d831a4d34865a15ae6f0 /archival/libunarchive
parent785001468dffa2d532b6efa5603622dd85d2bc74 (diff)
downloadbusybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.zip
busybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.tar.gz
Fixup some warnings
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/decompress_bunzip2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c
index 4b8ceb8..259a477 100644
--- a/archival/libunarchive/decompress_bunzip2.c
+++ b/archival/libunarchive/decompress_bunzip2.c
@@ -134,6 +134,8 @@ static unsigned int get_bits(bunzip_data *bd, char bits_wanted)
static int get_next_block(bunzip_data *bd)
{
+ /* Note: Ignore the warning about hufGroup, base and limit being used uninitialized.
+ * They will be initialized on the fist pass of the loop. */
struct group_data *hufGroup;
int dbufCount,nextSym,dbufSize,groupCount,*base,*limit,selector,
i,j,k,t,runPos,symCount,symTotal,nSelectors,byteCount[256];