diff options
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r-- | mysys/my_getopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index 2ea39080cff..2ec2f8eb5c9 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -187,6 +187,7 @@ int handle_options(int *argc, char ***argv, { char **first= pos; char *cur_arg= *pos; + opt_found= 0; if (!is_cmdline_arg && (cur_arg == args_separator)) { is_cmdline_arg= 1; |