remove dead code

This commit is contained in:
Benjamin Peterson 2012-12-15 15:43:58 -05:00
parent 4113d2bd36
commit b41524dde3
1 changed files with 0 additions and 2 deletions

View File

@ -2526,8 +2526,6 @@ PyCData_traverse(CDataObject *self, visitproc visit, void *arg)
static int static int
PyCData_clear(CDataObject *self) PyCData_clear(CDataObject *self)
{ {
StgDictObject *dict = PyObject_stgdict((PyObject *)self);
assert(dict); /* Cannot be NULL for CDataObject instances */
Py_CLEAR(self->b_objects); Py_CLEAR(self->b_objects);
if ((self->b_needsfree) if ((self->b_needsfree)
&& _CDataObject_HasExternalBuffer(self)) && _CDataObject_HasExternalBuffer(self))