summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-09 20:06:00 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-09 20:06:00 (GMT)
commit1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f (patch)
tree229efc84d63f9495b2853098b85c67e1185a0058
parentbda3a59a9324c134adaa221027589cf90f957d58 (diff)
downloadcpython-1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f.zip
cpython-1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f.tar.gz
cpython-1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f.tar.bz2
SF patch #416247 2.1c1 stringobject: unused vrbl cleanup.
Thanks to Mark Favas.
-rw-r--r--Objects/stringobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 5df3fc2..4c68972 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -2786,7 +2786,6 @@ PyString_Format(PyObject *format, PyObject *args)
int flags = 0;
int width = -1;
int prec = -1;
- int size = 0;
int c = '\0';
int fill;
PyObject *v = NULL;
@@ -2924,7 +2923,6 @@ PyString_Format(PyObject *format, PyObject *args)
} /* prec */
if (fmtcnt >= 0) {
if (c == 'h' || c == 'l' || c == 'L') {
- size = c;
if (--fmtcnt >= 0)
c = *fmt++;
}