Browse Source

Fix for a compiler warning.

Nirbhay Choubey 12 years ago
parent
commit
1297a9ef19
  1. 3
      mysys/my_getopt.c

3
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))
{

Loading…
Cancel
Save