diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2013-11-25 13:01:57 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2013-11-25 13:01:57 -0500 |
commit | 1297a9ef19be9e3f3c42316d12a5aaf53a9f4ca1 (patch) | |
tree | cddccf88c76951699218cdd54992a830ee20307a /mysys | |
parent | 3fc77434351b275a9bc4e2a8b08d8d491ba0159c (diff) | |
download | mariadb-git-1297a9ef19be9e3f3c42316d12a5aaf53a9f4ca1.tar.gz |
Fix for a compiler warning.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_getopt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index f4a0f58511b..dd16e535eda 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -840,7 +840,6 @@ static int findopt(char *optpat, uint length, { uint count; const struct my_option *opt= *opt_res; - my_bool is_prefix= FALSE; DBUG_ENTER("findopt"); for (count= 0; opt->name; opt++) @@ -856,8 +855,6 @@ static int findopt(char *optpat, uint length, /* We only need to know one prev */ count= 1; *ffname= opt->name; - if (opt->name[length]) - is_prefix= TRUE; } else if (strcmp(*ffname, opt->name)) { |