summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2010-05-27 15:39:01 +0200
committerBernhard Reutner-Fischer2010-05-27 15:39:01 +0200
commit7bdfb7cbf0697f57d3421460558d6b4615ba14ec (patch)
treed6428d4b86d9ac00cc0141e3a5b1cf32be491a8b /archival
parenteb29e91dc69dc3a93af880268f5cbe86a97fdc64 (diff)
downloadbusybox-7bdfb7cbf0697f57d3421460558d6b4615ba14ec.zip
busybox-7bdfb7cbf0697f57d3421460558d6b4615ba14ec.tar.gz
bbunzip: silence warning about unused variable
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'archival')
-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)))