Skip to content

Commit

Permalink
Removing the unused function my_bincmp() from strings/ctype-ucs2.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Barkov committed Nov 24, 2016
1 parent 57058cb commit 1d8eafb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions strings/ctype-ucs2.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,6 @@ static unsigned long lfactor[9]=


#ifdef HAVE_CHARSET_mb2_or_mb4
static inline int
my_bincmp(const uchar *s, const uchar *se,
const uchar *t, const uchar *te)
{
int slen= (int) (se - s), tlen= (int) (te - t);
int len= MY_MIN(slen, tlen);
int cmp= memcmp(s, t, len);
return cmp ? cmp : slen - tlen;
}


static size_t
my_caseup_str_mb2_or_mb4(CHARSET_INFO * cs __attribute__((unused)),
char * s __attribute__((unused)))
Expand Down

0 comments on commit 1d8eafb

Please sign in to comment.