]> granicus.if.org Git - python/commitdiff
Remove unused variable.
authorGuido van Rossum <guido@python.org>
Wed, 9 Apr 1997 18:22:28 +0000 (18:22 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 9 Apr 1997 18:22:28 +0000 (18:22 +0000)
Objects/complexobject.c

index 197aa6db92145e890ab2bf8f05a5f4569d7c237b..abd83e466b86b1e48361b440f888a55bddf2d910 100644 (file)
@@ -601,7 +601,6 @@ complex_getattr(self, name)
        complexobject *self;
        char *name;
 {
-       Py_complex cval;
        if (strcmp(name, "real") == 0)
                return (object *)newfloatobject(self->cval.real);
        else if (strcmp(name, "imag") == 0)