diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-11-04 12:26:49 +0100 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-11-04 12:26:49 +0100 |
commit | 762eb600184fb9894e88be2d36aaeecc8d8d5c6e (patch) | |
tree | f55c45d884cd4855b4f5051c6f14582b92762405 /Python/codecs.c | |
parent | e30694e4817ae7ff2c1502e57ad2ea7f293dfe21 (diff) | |
download | cpython-762eb600184fb9894e88be2d36aaeecc8d8d5c6e.tar.gz |
Fix C89 incompatibility.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 47cdb20add..dcc7c988d6 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -613,9 +613,9 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc) 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) { |