Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7db923c

Browse files
committed
Silence 'unused variable' gcc warning. Patch by Éric Araujo.
1 parent c236850 commit 7db923c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Objects/unicodeobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,10 +2737,11 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
27372737
Py_UNICODE *p;
27382738
#ifndef Py_UNICODE_WIDE
27392739
int pairs = 0;
2740+
const unsigned char *qq;
27402741
#else
27412742
const int pairs = 0;
27422743
#endif
2743-
const unsigned char *q, *e, *qq;
2744+
const unsigned char *q, *e;
27442745
int bo = 0; /* assume native ordering by default */
27452746
const char *errmsg = "";
27462747
/* Offsets from q for retrieving bytes in the right order. */

0 commit comments

Comments
 (0)