diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-11-10 21:23:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-11-10 21:23:15 (GMT) |
commit | adf6a6c8421b12ef84b25b1b7628226912051cc2 (patch) | |
tree | 8e0fc5deecc090d4d0251fd9553ea300a4e0f3ff | |
parent | 074e5ed974be65fbcfe75a4c0529dbc53f13446f (diff) | |
download | cpython-adf6a6c8421b12ef84b25b1b7628226912051cc2.zip cpython-adf6a6c8421b12ef84b25b1b7628226912051cc2.tar.gz cpython-adf6a6c8421b12ef84b25b1b7628226912051cc2.tar.bz2 |
death to compiler warning
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index c9808e1..cdb739a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s, *p++ = (char)(0x80 | (ch & 0x3f)); continue; } +#ifndef Py_UNICODE_WIDE encodeUCS4: +#endif /* Encode UCS4 Unicode ordinals */ *p++ = (char)(0xf0 | (ch >> 18)); *p++ = (char)(0x80 | ((ch >> 12) & 0x3f)); |