diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-15 20:43:58 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-15 20:43:58 (GMT) |
commit | 7eb8a1a0cb0b1b84bd9748e1e584f143c70b9e97 (patch) | |
tree | b4bfe1e83b347189a39345111aaa623c44294462 /Modules/_ctypes | |
parent | 084daa2f7492ae809b5ce09d2cdbad6ed5a71848 (diff) | |
download | cpython-7eb8a1a0cb0b1b84bd9748e1e584f143c70b9e97.zip cpython-7eb8a1a0cb0b1b84bd9748e1e584f143c70b9e97.tar.gz cpython-7eb8a1a0cb0b1b84bd9748e1e584f143c70b9e97.tar.bz2 |
remove dead code
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 603b3b8..73ab2fd 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -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)) |