Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4bacb20

Browse files
committedApr 13, 2015
Removed some unnecessary code
1 parent 2a32b04 commit 4bacb20

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎context.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -855,12 +855,6 @@ context_setattro(PyObject *self, PyObject *attrname, PyObject *py_value)
855855
PyObject *
856856
context_run(getdns_ContextObject *self, PyObject *args, PyObject *keywds)
857857
{
858-
getdns_context *context;
859-
860-
if ((context = PyCapsule_GetPointer(self->py_context, "context")) == NULL) {
861-
PyErr_SetString(getdns_error, GETDNS_RETURN_BAD_CONTEXT_TEXT);
862-
return NULL;
863-
}
864858
(void)event_base_dispatch(self->event_base);
865859
Py_RETURN_NONE;
866860
}

0 commit comments

Comments
 (0)
Please sign in to comment.