dpctl: Get rid of effectively unused variable.
[sliver-openvswitch.git] / utilities / dpctl.c
index 7a3a020..acadb88 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;
         }