summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/my_getopt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c
index 5644d81837d..662e33a3a5a 100644
--- a/mysys/my_getopt.c
+++ b/mysys/my_getopt.c
@@ -316,8 +316,6 @@ int handle_options(int *argc, char ***argv,
else /* If argument differs from 0, enable option, else disable */
*((my_bool*) optp->value)= (my_bool) atoi(optend) != 0;
}
- (*argc)--;
- continue;
}
else if (optp->arg_type == REQUIRED_ARG && !optend)
{