summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 18:11:50 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 18:11:50 -0300
commit667936dcbe9de31a4e293567386bd3f3261cfb1f (patch)
tree3a92e6a5b2bb163bca9d3945b5041ee993e449a1 /main.c
parent71d2312487fed19d2500357cb644c3801179f600 (diff)
downloadeeshow-667936dcbe9de31a4e293567386bd3f3261cfb1f.tar.gz
eeshow-667936dcbe9de31a4e293567386bd3f3261cfb1f.tar.bz2
eeshow-667936dcbe9de31a4e293567386bd3f3261cfb1f.zip
gfx/gfx.c (gfx_args): don't need to reset "optind" all over the place
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0d7cf3e..294fc9a 100644
--- a/main.c
+++ b/main.c
@@ -284,8 +284,6 @@ found:
;
}
- optind = 0; /* reset getopt */
-
if (!sch_parse(&sch_ctx, &sch_file, &lib, NULL))
return 1;
file_close(&sch_file);