From 7db923cc992eb0af5e6da17df4277a2b802d5c20 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 12 Jun 2010 09:10:14 +0000 Subject: [PATCH] =?utf8?q?Silence=20'unused=20variable'=20gcc=20warning.?= =?utf8?q?=20=20Patch=20by=20=C3=89ric=20Araujo.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Objects/unicodeobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ -- 2.50.0