From 1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 9 May 2001 20:06:00 +0000 Subject: [PATCH] SF patch #416247 2.1c1 stringobject: unused vrbl cleanup. Thanks to Mark Favas. --- Objects/stringobject.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 5df3fc2dd2a..4c68972918a 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++; }