]> granicus.if.org Git - python/commitdiff
fix unused variable
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Apr 2013 01:14:58 +0000 (03:14 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Apr 2013 01:14:58 +0000 (03:14 +0200)
Objects/unicodeobject.c

index dee2953017a0c47239fb2dc54475c19e59e794cf..eb126551115c4c3a4287513a5d19e61e31e11770 100644 (file)
@@ -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 &&