From 685ac1fe5abdcdff1f39ed2d1ceaa1ee53b122e8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 22 Jul 2008 13:33:02 -0700 Subject: [PATCH] dpctl: Get rid of effectively unused variable. --- utilities/dpctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utilities/dpctl.c b/utilities/dpctl.c index 7a3a020ee..acadb88d5 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; } -- 2.43.0