From: Jack Jansen Date: Tue, 3 Oct 1995 14:38:41 +0000 (+0000) Subject: Removed unused variables X-Git-Tag: v1.3~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95ffa23597b1263b371581e4f14650356e81fba2;p=thirdparty%2FPython%2Fcpython.git Removed unused variables --- diff --git a/Python/compile.c b/Python/compile.c index a01e72ad91c3..6277e42e597f 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 b0f46b0e8774..020d149368e4 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);