summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-19 21:11:13 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-19 21:11:13 (GMT)
commit6a16ea07b8159c39e3433d32e5d8efb10aec06c8 (patch)
tree910f217a8e0b66143eb2bfb9763db7f4477cc4fe /Modules
parent390e9dbd4f26e2108d02a22cbdfc95e442fd667f (diff)
downloadcpython-6a16ea07b8159c39e3433d32e5d8efb10aec06c8.zip
cpython-6a16ea07b8159c39e3433d32e5d8efb10aec06c8.tar.gz
cpython-6a16ea07b8159c39e3433d32e5d8efb10aec06c8.tar.bz2
Kill a warning on the SGI compiler.
This is part of SF patch #434992.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/unicodedata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index 69345ea..4711123 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -282,7 +282,7 @@ _getname(Py_UCS4 code, char* buffer, int buflen)
int word;
unsigned char* w;
- if (code < 0 || code >= 65536)
+ if (code >= 65536)
return 0;
/* get offset into phrasebook */