Kaydet (Commit) 8ba79306 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Fix C89 incompatibility.

üst b09af03b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment