mirror of
https://github.com/MariaDB/server.git
synced 2025-08-17 21:39:33 +00:00
Fix for a compiler warning.
This commit is contained in:
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user