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);