[git commit master] bbunzip: silence warning about unused variable

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu May 27 13:39:01 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=7bdfb7cbf0697f57d3421460558d6b4615ba14ec
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 archival/bbunzip.c |    2 +-
 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)))
-- 
1.6.3.3



More information about the busybox-cvs mailing list