Code

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@620 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_first.c

index 8468a99544164982359613c858f1909f7f036cba..9414b0a6010f242038e9ed729fa562a30ef84aaf 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)