Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ac946c

Browse files
committed
SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanup
1 parent d6283b8 commit 5ac946c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Python/compile.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3539,13 +3539,11 @@ com_arglist(struct compiling *c, node *n)
35393539
for (i = 0, narg = 0; i < nch; i++) {
35403540
node *ch = CHILD(n, i);
35413541
node *fp;
3542-
char *name;
35433542
if (TYPE(ch) == STAR || TYPE(ch) == DOUBLESTAR)
35443543
break;
35453544
REQ(ch, fpdef); /* fpdef: NAME | '(' fplist ')' */
35463545
fp = CHILD(ch, 0);
35473546
if (TYPE(fp) != NAME) {
3548-
name = nbuf;
35493547
sprintf(nbuf, ".%d", i);
35503548
complex = 1;
35513549
}

0 commit comments

Comments
 (0)