dpctl: Get rid of effectively unused variable.
authorBen Pfaff <blp@nicira.com>
Tue, 22 Jul 2008 20:33:02 +0000 (13:33 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Jul 2008 20:56:26 +0000 (13:56 -0700)
utilities/dpctl.c

index 7a3a020ee1a620f71f599d6fb9531013f7eb01e6..acadb88d5ff947a5167dddbb3d14172ce3e8995c 100644 (file)
@@ -127,10 +127,9 @@ parse_options(int argc, char *argv[])
 
     for (;;) {
         unsigned long int timeout;
-        int indexptr;
         int c;
 
-        c = getopt_long(argc, argv, short_options, long_options, &indexptr);
+        c = getopt_long(argc, argv, short_options, long_options, NULL);
         if (c == -1) {
             break;
         }