summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-09 18:53:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-09 18:53:51 (GMT)
commit5ac946c6975c602117e336dc5f239c4fd38c0b03 (patch)
tree0a9f7d8f525fc32f1d6cee5c4169c743cefd9075 /Python
parentd6283b84c8ab6aec059c226e1c3dec4d462093e0 (diff)
downloadcpython-5ac946c6975c602117e336dc5f239c4fd38c0b03.zip
cpython-5ac946c6975c602117e336dc5f239c4fd38c0b03.tar.gz
cpython-5ac946c6975c602117e336dc5f239c4fd38c0b03.tar.bz2
SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanup
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 9f215f2..ec3de26 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -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;
}