diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-08-28 00:43:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-08-28 00:43:07 +0000 |
commit | b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65 (patch) | |
tree | cb40909520a92fd5c133d831a4d34865a15ae6f0 /archival | |
parent | 785001468dffa2d532b6efa5603622dd85d2bc74 (diff) | |
download | busybox-w32-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.tar.gz busybox-w32-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.tar.bz2 busybox-w32-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.zip |
Fixup some warnings
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bunzip2.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/archival/bunzip2.c b/archival/bunzip2.c index 5be9da517..bedd38c22 100644 --- a/archival/bunzip2.c +++ b/archival/bunzip2.c | |||
@@ -33,6 +33,8 @@ | |||
33 | int bunzip2_main(int argc, char **argv) | 33 | int bunzip2_main(int argc, char **argv) |
34 | { | 34 | { |
35 | char *compressed_name; | 35 | char *compressed_name; |
36 | /* Note: Ignore the warning about save_name being used uninitialized. | ||
37 | * That is not the case, but gcc has trouble working that out... */ | ||
36 | char *save_name; | 38 | char *save_name; |
37 | unsigned long opt; | 39 | unsigned long opt; |
38 | int status; | 40 | int status; |
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 4b8ceb804..259a47776 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) | |||
134 | 134 | ||
135 | static int get_next_block(bunzip_data *bd) | 135 | static int get_next_block(bunzip_data *bd) |
136 | { | 136 | { |
137 | /* Note: Ignore the warning about hufGroup, base and limit being used uninitialized. | ||
138 | * They will be initialized on the fist pass of the loop. */ | ||
137 | struct group_data *hufGroup; | 139 | struct group_data *hufGroup; |
138 | int dbufCount,nextSym,dbufSize,groupCount,*base,*limit,selector, | 140 | int dbufCount,nextSym,dbufSize,groupCount,*base,*limit,selector, |
139 | i,j,k,t,runPos,symCount,symTotal,nSelectors,byteCount[256]; | 141 | i,j,k,t,runPos,symCount,symTotal,nSelectors,byteCount[256]; |