fix warning with ucs4

This commit is contained in:
Benjamin Peterson 2010-06-12 17:47:06 +00:00
parent 10f08f9599
commit 8e5effaaa4
1 changed files with 2 additions and 1 deletions

View File

@ -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. */