[Python-checkins] r81953 - python/trunk/Objects/unicodeobject.c

benjamin.peterson python-checkins at python.org
Sat Jun 12 19:47:06 CEST 2010


Author: benjamin.peterson
Date: Sat Jun 12 19:47:06 2010
New Revision: 81953

Log:
fix warning with ucs4

Modified:
   python/trunk/Objects/unicodeobject.c

Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Sat Jun 12 19:47:06 2010
@@ -2208,10 +2208,11 @@
     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. */


More information about the Python-checkins mailing list