summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 22:27:42 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 22:27:42 (GMT)
commit730806d3d9bd8c54466e4a864b2b1f94df4413d2 (patch)
tree95ef041ad6e66f6cfbee3b6f84de6542c2cd36a7 /Python/ceval.c
parent1109fbca76d08bb2f11f2899580d2ab7dbe796fa (diff)
downloadcpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.zip
cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.gz
cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.bz2
Make new gcc -Wall happy
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 28360f4..0527537 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2745,8 +2745,9 @@ build_class(methods, bases, name)
callable, args);
Py_DECREF(args);
}
- if (callable != basetype)
+ if (callable != basetype) {
Py_DECREF(callable);
+ }
return newclass;
}
PyErr_SetString(PyExc_TypeError,