From 95ffa23597b1263b371581e4f14650356e81fba2 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 3 Oct 1995 14:38:41 +0000 Subject: [PATCH] Removed unused variables --- Python/compile.c | 1 - Python/import.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Python/compile.c b/Python/compile.c index a01e72ad91c..6277e42e597 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -2480,7 +2480,6 @@ com_arglist(c, n) for (i = 0; i < nch; i++) { node *ch = CHILD(n, i); node *fp; - char *name; if (TYPE(ch) == STAR) break; REQ(ch, fpdef); /* fpdef: NAME | '(' fplist ')' */ diff --git a/Python/import.c b/Python/import.c index b0f46b0e877..020d149368e 100644 --- a/Python/import.c +++ b/Python/import.c @@ -557,7 +557,6 @@ find_frozen(name) char *name; { struct frozen *p; - object *co; for (p = frozen_modules; ; p++) { if (p->name == NULL) @@ -818,8 +817,7 @@ imp_get_frozen_object(self, args) object *args; { char *name; - int ret; - object *m; + if (!newgetargs(args, "s", &name)) return NULL; return get_frozen_object(name);