From: Benjamin Peterson Date: Tue, 10 Nov 2009 21:23:15 +0000 (+0000) Subject: death to compiler warning X-Git-Tag: v3.2a1~2216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adf6a6c8421b12ef84b25b1b7628226912051cc2;p=python death to compiler warning --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index c9808e1cc6..cdb739a3d5 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));