Skip to content

Commit 1d8eafb

Browse files
author
Alexander Barkov
committed
Removing the unused function my_bincmp() from strings/ctype-ucs2.c
1 parent 57058cb commit 1d8eafb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

strings/ctype-ucs2.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,6 @@ static unsigned long lfactor[9]=
5353

5454

5555
#ifdef HAVE_CHARSET_mb2_or_mb4
56-
static inline int
57-
my_bincmp(const uchar *s, const uchar *se,
58-
const uchar *t, const uchar *te)
59-
{
60-
int slen= (int) (se - s), tlen= (int) (te - t);
61-
int len= MY_MIN(slen, tlen);
62-
int cmp= memcmp(s, t, len);
63-
return cmp ? cmp : slen - tlen;
64-
}
65-
66-
6756
static size_t
6857
my_caseup_str_mb2_or_mb4(CHARSET_INFO * cs __attribute__((unused)),
6958
char * s __attribute__((unused)))

0 commit comments

Comments
 (0)