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

noreply@sourceforge.net noreply@sourceforge.net
Sun, 15 Apr 2001 04:22:53 -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: Open
Priority: 5
Submitted By: Mark Favas (mfavas)
Assigned to: Nobody/Anonymous (nobody)
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 ----


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

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