Skip to content

Commit 70872dd

Browse files
javiereguiluznikic
authored andcommitted
Remove a redundant expression
1 parent ac17b36 commit 70872dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/libgd/gdkanji.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ DetectKanjiCode (unsigned char *str)
143143
else if (c >= 224 && c <= 239)
144144
{
145145
whatcode = EUCORSJIS;
146-
while (c >= 64 && c != '\0' && whatcode == EUCORSJIS)
146+
while (c >= 64 && whatcode == EUCORSJIS)
147147
{
148148
if (c >= 129)
149149
{

0 commit comments

Comments
 (0)