Commit 8ad34395 authored by Fred Drake's avatar Fred Drake

Remove an obsolete comment and a "return" before fallig off the end of a

void function.
parent ea7fa1bc
...@@ -736,7 +736,6 @@ cleanup_helper(PyObject *object) ...@@ -736,7 +736,6 @@ cleanup_helper(PyObject *object)
|| !PyType_SUPPORTS_WEAKREFS(object->ob_type) || !PyType_SUPPORTS_WEAKREFS(object->ob_type)
|| object->ob_refcnt != 0) { || object->ob_refcnt != 0) {
PyErr_BadInternalCall(); PyErr_BadInternalCall();
/* not sure what we should return here */
return; return;
} }
list = GET_WEAKREFS_LISTPTR(object); list = GET_WEAKREFS_LISTPTR(object);
...@@ -792,7 +791,6 @@ cleanup_helper(PyObject *object) ...@@ -792,7 +791,6 @@ cleanup_helper(PyObject *object)
Py_DECREF(tuple); Py_DECREF(tuple);
} }
} }
return;
} }
......
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