From 207dd387269a95c0406ca211f35bab24948affaa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 3 Apr 2013 03:14:58 +0200 Subject: [PATCH] fix unused variable --- Objects/unicodeobject.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index dee2953017a..eb126551115 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -14002,7 +14002,6 @@ PyUnicode_Format(PyObject *format, PyObject *args) while (--ctx.fmtcnt >= 0) { if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') { Py_ssize_t nonfmtpos; - Py_UCS4 maxchar; nonfmtpos = ctx.fmtpos++; while (ctx.fmtcnt >= 0 &&