summaryrefslogtreecommitdiff
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-09 18:22:28 +0000
committerGuido van Rossum <guido@python.org>1997-04-09 18:22:28 +0000
commit801776742082034cc6193530326af042d5af56a5 (patch)
tree571f7e38eff65e8ab78cac000c20703f481ee9dc /Objects/complexobject.c
parentfa658ce03d82dc0f9223cde427b12d1eeb48dce7 (diff)
downloadcpython-git-801776742082034cc6193530326af042d5af56a5.tar.gz
Remove unused variable.
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 197aa6db92..abd83e466b 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -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)