summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-12 09:10:14 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-12 09:10:14 (GMT)
commit7db923cc992eb0af5e6da17df4277a2b802d5c20 (patch)
treed11e2d03f393a6e6595537b254d467eaddc93040 /Objects/unicodeobject.c
parentc236850ad1dcb69ec24ed429b6ae38afa3b80d06 (diff)
downloadcpython-7db923cc992eb0af5e6da17df4277a2b802d5c20.zip
cpython-7db923cc992eb0af5e6da17df4277a2b802d5c20.tar.gz
cpython-7db923cc992eb0af5e6da17df4277a2b802d5c20.tar.bz2
Silence 'unused variable' gcc warning. Patch by Éric Araujo.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 8d75b20..4153c25 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. */