From: Antoine Pitrou Date: Wed, 13 Jan 2010 08:58:08 +0000 (+0000) Subject: Merged revisions 77463 via svnmerge from X-Git-Tag: v3.2a1~1852 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbfdee3e54c012231a848aea69b63474cbf1b100;p=thirdparty%2FPython%2Fcpython.git Merged revisions 77463 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77463 | antoine.pitrou | 2010-01-13 09:55:20 +0100 (mer., 13 janv. 2010) | 3 lines Fix Windows build (re r77461) ........ --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3d49db162b47..d8d9c3569095 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -6386,10 +6386,10 @@ PyObject *replace(PyUnicodeObject *self, goto nothing; if (str1->length == str2->length) { + Py_ssize_t i; /* same length */ if (str1->length == 0) goto nothing; - Py_ssize_t i; if (str1->length == 1) { /* replace characters */ Py_UNICODE u1, u2;