summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/compile.c1
-rw-r--r--Python/import.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a01e72a..6277e42 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 b0f46b0..020d149 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);