[Python-checkins] cpython: fix unused variable

victor.stinner python-checkins at python.org
Wed Apr 3 03:15:13 CEST 2013


http://hg.python.org/cpython/rev/41645c37fd3d
changeset:   83068:41645c37fd3d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Apr 03 03:14:58 2013 +0200
summary:
  fix unused variable

files:
  Objects/unicodeobject.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -14002,7 +14002,6 @@
     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 &&

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list