diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2013-11-25 12:40:08 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2013-11-25 12:40:08 -0500 |
commit | 88f0e0ebeeca6194b73e20747cbc004970aeb26c (patch) | |
tree | 89404882ad901aa12e24dbc45c1f29c9148983d8 /mysys | |
parent | 071edcfea05674f86926ee4c5fbf30f97c2ed368 (diff) | |
download | mariadb-git-88f0e0ebeeca6194b73e20747cbc004970aeb26c.tar.gz |
MDEV-4108 Compilation warnings with RelWithDebInfo
only present in the Galera tree
Fix for some compiler warnings.
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)) { |