[Patches] [ python-Patches-416249 ] 2.1c1 compile: unused vrbl cleanup

noreply@sourceforge.net noreply@sourceforge.net
Wed, 09 May 2001 11:54:11 -0700


Patches item #416249, was updated on 2001-04-15 04:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=416249&group_id=5470

Category: core (C code)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mark Favas (mfavas)
>Assigned to: Tim Peters (tim_one)
Summary: 2.1c1 compile: unused vrbl cleanup

Initial Comment:
Variable set but unused

*** compile.c.orig      Sun Apr 15 18:15:26 2001
--- compile.c   Sun Apr 15 18:17:08 2001
***************
*** 3551,3563 ****
        for (i = 0, narg = 0; i < nch; i++) {
                node *ch = CHILD(n, i);
                node *fp;
-               char *name;
                if (TYPE(ch) == STAR || TYPE(ch) ==
DOUBLESTAR)
                        break;
                REQ(ch, fpdef); /* fpdef: NAME | '('
fplist ')' */
                fp = CHILD(ch, 0);
                if (TYPE(fp) != NAME) {
-                       name = nbuf;
                        sprintf(nbuf, ".%d", i);
                        complex = 1;
                }
--- 3551,3561 ----


----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2001-05-09 11:54

Message:
Logged In: YES 
user_id=31435

Patch applied to compile.c, rev 2.200.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=416249&group_id=5470