summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-04-03 03:14:58 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-04-03 03:14:58 +0200
commit207dd387269a95c0406ca211f35bab24948affaa (patch)
treec75e446cddeb9e58abd222195f9d907da5fb852a /Objects/unicodeobject.c
parenteb4b5ac8afd797622e769e5742844224cfcb73b2 (diff)
downloadcpython-git-207dd387269a95c0406ca211f35bab24948affaa.tar.gz
fix unused variable
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index dee2953017..eb12655111 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 &&