bbunzip: silence warning about unused variable
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 27 May 2010 13:39:01 +0000 (15:39 +0200)
committerBernhard 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

index 1e775f425c43430109ca3956615aec4a4ba5d17a..f6bf337a39fa05ae3cfb0a7db51163ad63a18c6a 100644 (file)
@@ -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)))