gdkanji: drop another redundant check #456

This statement first checks c>=64 which means c!=0 is always true.
master
Mike Frysinger 2018-09-06 01:50:11 -04:00
parent 59574eab0f
commit 0f98c3fe7a
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ DetectKanjiCode (const unsigned char *str)
whatcode = EUCORSJIS;
else if (c >= 224 && c <= 239) {
whatcode = EUCORSJIS;
while (c >= 64 && c != '\0' && whatcode == EUCORSJIS) {
while (c >= 64 && whatcode == EUCORSJIS) {
if (c >= 129) {
if (c <= 141 || (c >= 143 && c <= 159))
whatcode = SJIS;