From: Ben Pfaff Date: Tue, 22 Jul 2008 20:33:02 +0000 (-0700) Subject: dpctl: Get rid of effectively unused variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=685ac1fe5abdcdff1f39ed2d1ceaa1ee53b122e8;p=openvswitch dpctl: Get rid of effectively unused variable. --- diff --git a/utilities/dpctl.c b/utilities/dpctl.c index 7a3a020e..acadb88d 100644 --- a/utilities/dpctl.c +++ b/utilities/dpctl.c @@ -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; }