summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 17:23:48 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 17:23:48 (GMT)
commit85998fa069b735b30ccf696898b9118d9bbc8b21 (patch)
tree1a642a0422872e730ead1fe39de5d918f8c5ffac /Objects
parent51415a7b3bd101017ceb475d95498ad2c4ba5383 (diff)
downloadcpython-85998fa069b735b30ccf696898b9118d9bbc8b21.zip
cpython-85998fa069b735b30ccf696898b9118d9bbc8b21.tar.gz
cpython-85998fa069b735b30ccf696898b9118d9bbc8b21.tar.bz2
Silence lint
Diffstat (limited to 'Objects')
-rw-r--r--Objects/classobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 23001af..a4270e0 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -68,7 +68,6 @@ static void
class_dealloc(op)
classobject *op;
{
- int i;
DECREF(op->cl_bases);
DECREF(op->cl_methods);
XDECREF(op->cl_name);
@@ -106,7 +105,8 @@ class_getattr(op, name)
int n = gettuplesize(op->cl_bases);
int i;
for (i = 0; i < n; i++) {
- v = class_getattr(gettupleitem(op->cl_bases, i), name);
+ v = class_getattr((classobject *)
+ gettupleitem(op->cl_bases, i), name);
if (v != NULL)
return v;
err_clear();