Commit 7eb8a1a0 authored by Benjamin Peterson's avatar Benjamin Peterson

remove dead code

parent 084daa2f
......@@ -2438,8 +2438,6 @@ PyCData_traverse(CDataObject *self, visitproc visit, void *arg)
static int
PyCData_clear(CDataObject *self)
{
StgDictObject *dict = PyObject_stgdict((PyObject *)self);
assert(dict); /* Cannot be NULL for CDataObject instances */
Py_CLEAR(self->b_objects);
if ((self->b_needsfree)
&& _CDataObject_HasExternalBuffer(self))
......
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