aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-15 13:28:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-15 13:28:46 +0000
commit24af7201e98a9692e1dfa9976c1a6ba97013ca23 (patch)
treec81c3ba07136f42fe81835e4720c180dcc0f2583 /archival
parent972288e62fa0798f59caf209ab58c911d289a8b2 (diff)
downloadbusybox-24af7201e98a9692e1dfa9976c1a6ba97013ca23.tar.gz
fix TODO: getopt32 should reset optind to 1 itself
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 68f1cc87d..6af6c1886 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -2041,8 +2041,6 @@ int gzip_main(int argc, char **argv)
//if (opt & 0x4) // -v
#if ENABLE_GUNZIP /* gunzip_main may not be visible... */
if (opt & 0x8) { // -d
- /* FIXME: getopt32 should not depend on optind */
- optind = 1;
return gunzip_main(argc, argv);
}
#endif