]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanup
authorTim Peters <tim.peters@gmail.com>
Wed, 9 May 2001 18:53:51 +0000 (18:53 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 9 May 2001 18:53:51 +0000 (18:53 +0000)
Python/compile.c

index 9f215f2748b5762683dae508e50fca644590b139..ec3de2604eab7d593235638b9867f8e1a9d66b1c 100644 (file)
@@ -3539,13 +3539,11 @@ com_arglist(struct compiling *c, node *n)
        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;
                }