Commit 78fe5308 authored by Tim Peters's avatar Tim Peters

CVS patch 416248: 2.1c1 unicodeobject: unused vrbl cleanup, from Mark Favas.

parent b8a93215
...@@ -4793,7 +4793,6 @@ PyObject *PyUnicode_Format(PyObject *format, ...@@ -4793,7 +4793,6 @@ PyObject *PyUnicode_Format(PyObject *format,
int flags = 0; int flags = 0;
int width = -1; int width = -1;
int prec = -1; int prec = -1;
int size = 0;
Py_UNICODE c = '\0'; Py_UNICODE c = '\0';
Py_UNICODE fill; Py_UNICODE fill;
PyObject *v = NULL; PyObject *v = NULL;
...@@ -4931,7 +4930,6 @@ PyObject *PyUnicode_Format(PyObject *format, ...@@ -4931,7 +4930,6 @@ PyObject *PyUnicode_Format(PyObject *format,
} /* prec */ } /* prec */
if (fmtcnt >= 0) { if (fmtcnt >= 0) {
if (c == 'h' || c == 'l' || c == 'L') { if (c == 'h' || c == 'l' || c == 'L') {
size = c;
if (--fmtcnt >= 0) if (--fmtcnt >= 0)
c = *fmt++; c = *fmt++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment