mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
CVS patch 416248: 2.1c1 unicodeobject: unused vrbl cleanup, from Mark Favas.
This commit is contained in:
parent
b8a93215c2
commit
78fe5308b4
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||||
} /* 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++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue