From: Mark Dickinson Date: Sat, 12 Jun 2010 09:10:14 +0000 (+0000) Subject: Silence 'unused variable' gcc warning. Patch by Éric Araujo. X-Git-Tag: v3.2a1~554 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7db923cc992eb0af5e6da17df4277a2b802d5c20;p=python Silence 'unused variable' gcc warning. Patch by Éric Araujo. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 8d75b205de..4153c25f53 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2737,10 +2737,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. */