From de84accb7aed39c840a0dc9131d6d56a8973cac3 Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Wed, 11 May 2011 06:23:40 +0200 Subject: [PATCH] removed unused variable in pyerl --- plugins/pyerl/pyerl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {