From: Tim Peters Date: Thu, 19 Apr 2001 21:55:14 +0000 (+0000) Subject: CVS patch 416248: 2.1c1 unicodeobject: unused vrbl cleanup, from Mark Favas. X-Git-Tag: v2.2a3~1989 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78fe5308b427298a2bb3c80c1d0f6117d18fcf62;p=thirdparty%2FPython%2Fcpython.git CVS patch 416248: 2.1c1 unicodeobject: unused vrbl cleanup, from Mark Favas. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b623c204cb4c..f3cab05e387d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -4793,7 +4793,6 @@ PyObject *PyUnicode_Format(PyObject *format, int flags = 0; int width = -1; int prec = -1; - int size = 0; Py_UNICODE c = '\0'; Py_UNICODE fill; PyObject *v = NULL; @@ -4931,7 +4930,6 @@ PyObject *PyUnicode_Format(PyObject *format, } /* prec */ if (fmtcnt >= 0) { if (c == 'h' || c == 'l' || c == 'L') { - size = c; if (--fmtcnt >= 0) c = *fmt++; }