fix warning with ucs4
This commit is contained in:
parent
10f08f9599
commit
8e5effaaa4
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue