summaryrefslogtreecommitdiff
path: root/strings/ctype-mb.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-mb.c')
-rw-r--r--strings/ctype-mb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c
index b0413099ca8..02a9a91ca6a 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -354,7 +354,7 @@ int my_wildcmp_mb_impl(CHARSET_INFO *cs,
if (tmp <= 0)
return (tmp);
}
- } while (str != str_end && wildstr[0] != w_many);
+ } while (str != str_end);
return(-1);
}
}
@@ -1192,7 +1192,7 @@ static int my_wildcmp_mb_bin_impl(CHARSET_INFO *cs,
if (tmp <= 0)
return (tmp);
}
- } while (str != str_end && wildstr[0] != w_many);
+ } while (str != str_end);
return(-1);
}
}