Commit 8e5effaa authored by Benjamin Peterson's avatar Benjamin Peterson

fix warning with ucs4

parent 10f08f95
...@@ -2208,10 +2208,11 @@ PyUnicode_DecodeUTF32Stateful(const char *s, ...@@ -2208,10 +2208,11 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
Py_UNICODE *p; Py_UNICODE *p;
#ifndef Py_UNICODE_WIDE #ifndef Py_UNICODE_WIDE
int pairs = 0; int pairs = 0;
const unsigned char *qq;
#else #else
const int pairs = 0; const int pairs = 0;
#endif #endif
const unsigned char *q, *e, *qq; const unsigned char *q, *e;
int bo = 0; /* assume native ordering by default */ int bo = 0; /* assume native ordering by default */
const char *errmsg = ""; const char *errmsg = "";
/* Offsets from q for retrieving bytes in the right order. */ /* Offsets from q for retrieving bytes in the right order. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment