From ffd998be34a1a3d208106d051e85058ff9ac9667 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Thu, 11 Aug 2016 12:45:00 +0100 Subject: Imported Upstream version 4.7 --- cmds-qgroup.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmds-qgroup.c') diff --git a/cmds-qgroup.c b/cmds-qgroup.c index 14418d45..a3bc939a 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -309,7 +309,6 @@ static int cmd_qgroup_show(int argc, char **argv) unit_mode = get_unit_mode_from_arg(&argc, argv, 0); - optind = 1; while (1) { int c; static const struct option long_options[] = { @@ -408,7 +407,6 @@ static int cmd_qgroup_limit(int argc, char **argv) int exclusive = 0; DIR *dirstream = NULL; - optind = 1; while (1) { int c = getopt(argc, argv, "ce"); if (c < 0) -- cgit v1.2.3