SF patch #416247 2.1c1 stringobject: unused vrbl cleanup.
Thanks to Mark Favas.
This commit is contained in:
parent
bda3a59a93
commit
1a97d5f098
|
@ -2786,7 +2786,6 @@ PyString_Format(PyObject *format, PyObject *args)
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
int width = -1;
|
int width = -1;
|
||||||
int prec = -1;
|
int prec = -1;
|
||||||
int size = 0;
|
|
||||||
int c = '\0';
|
int c = '\0';
|
||||||
int fill;
|
int fill;
|
||||||
PyObject *v = NULL;
|
PyObject *v = NULL;
|
||||||
|
@ -2924,7 +2923,6 @@ PyString_Format(PyObject *format, PyObject *args)
|
||||||
} /* 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…
Reference in New Issue