From 4f62ac93f0b98753375647a6d56893827207f767 Mon Sep 17 00:00:00 2001 From: "bar@bar.mysql.r18.ru" <> Date: Fri, 31 Jan 2003 17:08:14 +0400 Subject: More use of new CHARSET_INFO functions and two bug fixes --- strings/ctype-mb.c | 8 +++----- strings/ctype-utf8.c | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'strings') diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c index f5b7000cb18..aa4ccdb6af7 100644 --- a/strings/ctype-mb.c +++ b/strings/ctype-mb.c @@ -289,12 +289,10 @@ uint my_numchars_mb(CHARSET_INFO *cs __attribute__((unused)), } uint my_charpos_mb(CHARSET_INFO *cs __attribute__((unused)), - const char *b __attribute__((unused)), - const char *e __attribute__((unused)), - uint pos) + const char *b, const char *e, uint pos) { - uint res=0, mblen; - const char *b0; + uint mblen; + const char *b0=b; while (pos && b