summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-05-27 13:39:01 (GMT)
committer Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-05-27 13:39:01 (GMT)
commit7bdfb7cbf0697f57d3421460558d6b4615ba14ec (patch)
treed6428d4b86d9ac00cc0141e3a5b1cf32be491a8b
parenteb29e91dc69dc3a93af880268f5cbe86a97fdc64 (diff)
downloadbusybox-7bdfb7cbf0697f57d3421460558d6b4615ba14ec.tar.gz
busybox-7bdfb7cbf0697f57d3421460558d6b4615ba14ec.tar.bz2
bbunzip: silence warning about unused variable
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--archival/bbunzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 1e775f4..f6bf337 100644
--- 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)))