diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-06-12 17:47:06 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-06-12 17:47:06 +0000 |
| commit | 7989c01efcf22e671e57688f0287610e64da9db3 (patch) | |
| tree | ecf5ba6a9df4725ededa33ba432af1afd688929a /Objects | |
| parent | 4291285395affbabe6a9f16dde29a6b207c4ed69 (diff) | |
| download | cpython-7989c01efcf22e671e57688f0287610e64da9db3.tar.gz | |
fix warning with ucs4
Diffstat (limited to 'Objects')
| -rw-r--r-- | Objects/unicodeobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index ae26ab60dc..0e378a5a40 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. */ |
