projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb29e91
)
bbunzip: silence warning about unused variable
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 27 May 2010 13:39:01 +0000
(15:39 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 27 May 2010 13:39:01 +0000
(15:39 +0200)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
archival/bbunzip.c
patch
|
blob
|
history
diff --git
a/archival/bbunzip.c
b/archival/bbunzip.c
index 1e775f425c43430109ca3956615aec4a4ba5d17a..f6bf337a39fa05ae3cfb0a7db51163ad63a18c6a 100644
(file)
--- a/
archival/bbunzip.c
+++ b/
archival/bbunzip.c
@@
-333,7
+333,7
@@
IF_DESKTOP(long long) int unpack_unlzma(unpack_info_t *info UNUSED_PARAM)
int unlzma_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int unlzma_main(int argc UNUSED_PARAM, char **argv)
{
-
int opts =
getopt32(argv, "cfvdt");
+
IF_FEATURE_LZMA_ALIAS(int opts =)
getopt32(argv, "cfvdt");
# if ENABLE_FEATURE_LZMA_ALIAS
/* lzma without -d or -t? */
if (applet_name[2] == 'm' && !(opts & (OPT_DECOMPRESS|OPT_TEST)))