Kaydet (Commit) 85998fa0 authored tarafından Guido van Rossum's avatar Guido van Rossum

Silence lint

üst 51415a7b
...@@ -68,7 +68,6 @@ static void ...@@ -68,7 +68,6 @@ static void
class_dealloc(op) class_dealloc(op)
classobject *op; classobject *op;
{ {
int i;
DECREF(op->cl_bases); DECREF(op->cl_bases);
DECREF(op->cl_methods); DECREF(op->cl_methods);
XDECREF(op->cl_name); XDECREF(op->cl_name);
...@@ -106,7 +105,8 @@ class_getattr(op, name) ...@@ -106,7 +105,8 @@ class_getattr(op, name)
int n = gettuplesize(op->cl_bases); int n = gettuplesize(op->cl_bases);
int i; int i;
for (i = 0; i < n; 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) if (v != NULL)
return v; return v;
err_clear(); err_clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment