From d0a664d102bb0886dbaf844b6857749f70702ea3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 16:55:18 -0400 Subject: Fixed several unused value and param warnings --- python/pyinterp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/pyinterp.cc') diff --git a/python/pyinterp.cc b/python/pyinterp.cc index 611a4033..cc6a5688 100644 --- a/python/pyinterp.cc +++ b/python/pyinterp.cc @@ -270,7 +270,7 @@ value_t python_interpreter_t::functor_t::operator()(call_scope_t& args) } return result; } - else if (PyObject * err = PyErr_Occurred()) { + else if (PyErr_Occurred()) { PyErr_Print(); throw_(calc_error, "Failed call to Python function '" << name << "'"); } else { -- cgit v1.2.3