diff --git a/strings/ctype-tis620.c b/strings/ctype-tis620.c index 6dd3641381a..5fab4f86ff2 100644 --- a/strings/ctype-tis620.c +++ b/strings/ctype-tis620.c @@ -501,8 +501,6 @@ static uchar* thai2sortable(const uchar * tstr,uint len) *pRight2++ = t_ctype[*p][1]; *pRight3++ = t_ctype[*p][2]; /* *pRight4++ = t_ctype[*p][3]; */ - if (!(len--)) - break; p += 2; } else { *pRight1 = t_ctype[*p][0];