re-innitializing sort of defeats the purpose
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 11 Jun 2005 05:15:37 +0000 (05:15 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 11 Jun 2005 05:15:37 +0000 (05:15 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@620 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_first.c

index 8468a99..9414b0a 100644 (file)
@@ -24,7 +24,6 @@ rrd_first(int argc, char **argv)
         };
         int option_index = 0;
         int opt;
-       optind = 0; opterr = 0;  /* initialize getopt */
         opt = getopt_long(argc, argv, "", long_options, &option_index);
 
         if(opt == EOF)