]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed unused variables
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 3 Oct 1995 14:38:41 +0000 (14:38 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 3 Oct 1995 14:38:41 +0000 (14:38 +0000)
Python/compile.c
Python/import.c

index a01e72ad91c32e51b7e5857550e6c0f4a92eabc1..6277e42e597f028d65a7eaba10a94283d424b38d 100644 (file)
@@ -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 ')' */
index b0f46b0e87748a4ad23bf5f762dcc0f5704a8d0d..020d149368e49cc32af404e28f41c3219572b64e 100644 (file)
@@ -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);