From 8460201d13c0e6e37eb8679773fe13c4bdc4db31 Mon Sep 17 00:00:00 2001 From: "antoine.pitrou" Date: Wed, 13 Jan 2010 08:55:20 +0000 Subject: [PATCH] Fix Windows build (re r77461) git-svn-id: http://svn.python.org/projects/python/trunk@77463 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b7874f1b68..e74165a42c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -5791,10 +5791,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; -- 2.11.4.GIT