Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a16ea0

Browse files
committed
Kill a warning on the SGI compiler.
This is part of SF patch #434992.
1 parent 390e9db commit 6a16ea0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/unicodedata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ _getname(Py_UCS4 code, char* buffer, int buflen)
282282
int word;
283283
unsigned char* w;
284284

285-
if (code < 0 || code >= 65536)
285+
if (code >= 65536)
286286
return 0;
287287

288288
/* get offset into phrasebook */

0 commit comments

Comments
 (0)