From 8e5effaaa416bef3bbaf1d19171eef0d4b3401ba Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 12 Jun 2010 17:47:06 +0000 Subject: fix warning with ucs4 --- Objects/unicodeobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index ae26ab6..0e378a5 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2208,10 +2208,11 @@ PyUnicode_DecodeUTF32Stateful(const char *s, Py_UNICODE *p; #ifndef Py_UNICODE_WIDE int pairs = 0; + const unsigned char *qq; #else const int pairs = 0; #endif - const unsigned char *q, *e, *qq; + const unsigned char *q, *e; int bo = 0; /* assume native ordering by default */ const char *errmsg = ""; /* Offsets from q for retrieving bytes in the right order. */ -- cgit v0.12