From 5c767c2f876a0e9611489033b1be92c566273d6f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 13 Jan 2010 08:55:20 +0000 Subject: Fix Windows build (re r77461) --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b7874f1..e74165a 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; -- cgit v0.12