[Python-checkins] r81936 - python/branches/py3k/Objects/unicodeobject.c

mark.dickinson python-checkins at python.org
Sat Jun 12 11:10:14 CEST 2010


Author: mark.dickinson
Date: Sat Jun 12 11:10:14 2010
New Revision: 81936

Log:
Silence 'unused variable' gcc warning.  Patch by Éric Araujo.


Modified:
   python/branches/py3k/Objects/unicodeobject.c

Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c	(original)
+++ python/branches/py3k/Objects/unicodeobject.c	Sat Jun 12 11:10:14 2010
@@ -2737,10 +2737,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