Kaydet (Commit) 5ac946c6 authored tarafından Tim Peters's avatar Tim Peters

SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanup

üst d6283b84
...@@ -3539,13 +3539,11 @@ com_arglist(struct compiling *c, node *n) ...@@ -3539,13 +3539,11 @@ com_arglist(struct compiling *c, node *n)
for (i = 0, narg = 0; i < nch; i++) { for (i = 0, narg = 0; i < nch; i++) {
node *ch = CHILD(n, i); node *ch = CHILD(n, i);
node *fp; node *fp;
char *name;
if (TYPE(ch) == STAR || TYPE(ch) == DOUBLESTAR) if (TYPE(ch) == STAR || TYPE(ch) == DOUBLESTAR)
break; break;
REQ(ch, fpdef); /* fpdef: NAME | '(' fplist ')' */ REQ(ch, fpdef); /* fpdef: NAME | '(' fplist ')' */
fp = CHILD(ch, 0); fp = CHILD(ch, 0);
if (TYPE(fp) != NAME) { if (TYPE(fp) != NAME) {
name = nbuf;
sprintf(nbuf, ".%d", i); sprintf(nbuf, ".%d", i);
complex = 1; complex = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment