diff Objects/unicodeobject.c @ 62285:6ce7ebcf9358

Silence 'unused variable' gcc warning. Patch by Éric Araujo.
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 12 Jun 2010 09:10:14 +0000
parents 3022904f9971
children 283d9472df4e
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Sat Jun 12 00:39:28 2010 +0000
+++ b/Objects/unicodeobject.c	Sat Jun 12 09:10:14 2010 +0000
@@ -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. */