diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 16:39:45 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 16:39:45 +0000 |
commit | 5b5c0305447c61a4cc4a0c29a43c2dc2b1befe34 (patch) | |
tree | ebb8583e9e1265588592614c0b4878daded44125 /archival/unzip.c | |
parent | e04d15038c48aceb093d79fc8e69e5d88b670a24 (diff) | |
download | busybox-w32-5b5c0305447c61a4cc4a0c29a43c2dc2b1befe34.tar.gz busybox-w32-5b5c0305447c61a4cc4a0c29a43c2dc2b1befe34.tar.bz2 busybox-w32-5b5c0305447c61a4cc4a0c29a43c2dc2b1befe34.zip |
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)".
git-svn-id: svn://busybox.net/trunk/busybox@14396 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival/unzip.c')
-rw-r--r-- | archival/unzip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index ff2b1a266..7e0d107cc 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -393,7 +393,7 @@ extern int unzip_main(int argc, char **argv) | |||
393 | goto _check_file; | 393 | goto _check_file; |
394 | 394 | ||
395 | default: | 395 | default: |
396 | printf("error: invalid response [%c]\n",(char)i); | 396 | printf("error: invalid response [%c]\n",(char)i); |
397 | goto _check_file; | 397 | goto _check_file; |
398 | } | 398 | } |
399 | 399 | ||
@@ -405,8 +405,8 @@ extern int unzip_main(int argc, char **argv) | |||
405 | } | 405 | } |
406 | 406 | ||
407 | if (verbosity == v_list) { | 407 | if (verbosity == v_list) { |
408 | printf(" -------- -------\n"); | 408 | printf(" -------- -------\n" |
409 | printf("%9d %d files\n", total_size, total_entries); | 409 | "%9d %d files\n", total_size, total_entries); |
410 | } | 410 | } |
411 | 411 | ||
412 | return(EXIT_SUCCESS); | 412 | return(EXIT_SUCCESS); |