diff --git a/plugins/pyerl/pyerl.c b/plugins/pyerl/pyerl.c index cefddfe..7e7619c 100644 --- a/plugins/pyerl/pyerl.c +++ b/plugins/pyerl/pyerl.c @@ -301,11 +301,10 @@ PyObject *pyerl_sr(PyObject * self, PyObject * args) { void pyerl_call_registered(void *func, ei_x_buff *x) { PyObject *pyargs = PyTuple_New(1); - PyObject *ret; PyTuple_SetItem(pyargs, 0, erl_to_py(x)); - ret = python_call((PyObject *) func, pyargs, 0); + python_call((PyObject *) func, pyargs, 0); } PyObject *pyerl_register_process(PyObject * self, PyObject * args) {