[Patches] [ python-Patches-416248 ] 2.1c1 unicodeobject: unused vrbl cleanup
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 15 Apr 2001 05:34:32 -0700
Patches item #416248, was updated on 2001-04-15 04:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=416248&group_id=5470
Category: core (C code)
Group: None
Status: Open
Priority: 5
Submitted By: Mark Favas (mfavas)
>Assigned to: Tim Peters (tim_one)
Summary: 2.1c1 unicodeobject: unused vrbl cleanup
Initial Comment:
Variable set but unused:
*** unicodeobject.c.orig Sun Apr 15 18:10:43
2001
--- unicodeobject.c Sun Apr 15 18:11:57 2001
***************
*** 4793,4799 ****
int flags = 0;
int width = -1;
int prec = -1;
- int size = 0;
Py_UNICODE c = '\0';
Py_UNICODE fill;
PyObject *v = NULL;
--- 4793,4798 ----
***************
*** 4931,4937 ****
} /* prec */
if (fmtcnt >= 0) {
if (c == 'h' || c == 'l' || c == 'L') {
- size = c;
if (--fmtcnt >= 0)
c = *fmt++;
}
--- 4930,4935 ----
----------------------------------------------------------------------
>Comment By: M.-A. Lemburg (lemburg)
Date: 2001-04-15 05:34
Message:
Logged In: YES
user_id=38388
Assigned to Tim, since he tweak this code ;-)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=416248&group_id=5470