commit | 8ba79306d102cbe969127ff6034defff9c8bb6ec | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Fri Nov 04 12:26:49 2011 +0100 |
committer | Martin v. Löwis <martin@v.loewis.de> | Fri Nov 04 12:26:49 2011 +0100 |
tree | 611cd19c2a3bf3b282ca4d6416959451b3d7f6e0 | |
parent | b09af03b8acc54076762e84393e446b68c861500 [diff] [blame] |
Fix C89 incompatibility.
diff --git a/Python/codecs.c b/Python/codecs.c index 47cdb20..dcc7c98 100644 --- a/Python/codecs.c +++ b/Python/codecs.c
@@ -613,9 +613,9 @@ outp = PyUnicode_1BYTE_DATA(res); /* generate replacement */ for (i = start, o = 0; i < end; ++i) { - ch = PyUnicode_READ_CHAR(object, i); int digits; int base; + ch = PyUnicode_READ_CHAR(object, i); *outp++ = '&'; *outp++ = '#'; if (ch<10) {