From: Guido van Rossum Date: Fri, 27 Mar 1992 17:23:48 +0000 (+0000) Subject: Silence lint X-Git-Tag: v0.9.8~448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85998fa069b735b30ccf696898b9118d9bbc8b21;p=thirdparty%2FPython%2Fcpython.git Silence lint --- diff --git a/Objects/classobject.c b/Objects/classobject.c index 23001af408f6..a4270e0adfeb 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();