diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-03 14:38:41 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-03 14:38:41 (GMT) |
commit | 95ffa23597b1263b371581e4f14650356e81fba2 (patch) | |
tree | 02be1d2bd40e9c670d1b8da222143f72da6c9756 /Python | |
parent | 8426477bbb7647755352bdbd7bee834da8ad2899 (diff) | |
download | cpython-95ffa23597b1263b371581e4f14650356e81fba2.zip cpython-95ffa23597b1263b371581e4f14650356e81fba2.tar.gz cpython-95ffa23597b1263b371581e4f14650356e81fba2.tar.bz2 |
Removed unused variables
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 1 | ||||
-rw-r--r-- | Python/import.c | 4 |
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); |