From: Mukund Sivaraman Date: Wed, 12 Jun 2013 13:15:09 +0000 (+0530) Subject: [2853] Remove unused catch argument name X-Git-Tag: bind10-1.2.0beta1-release~399^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd3f52daf52aeeb006cc7ac420f11bdc9cd284ed;p=thirdparty%2Fkea.git [2853] Remove unused catch argument name The compiler should have caught this, but it didn't. --- diff --git a/src/lib/python/isc/datasrc/configurableclientlist_python.cc b/src/lib/python/isc/datasrc/configurableclientlist_python.cc index 170e237b3f..9ccdc06081 100644 --- a/src/lib/python/isc/datasrc/configurableclientlist_python.cc +++ b/src/lib/python/isc/datasrc/configurableclientlist_python.cc @@ -214,7 +214,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) { try { segment_type = Py_BuildValue( "s", status[i].getSegmentType().c_str()); - } catch (const isc::InvalidOperation& e) { + } catch (const isc::InvalidOperation&) { Py_INCREF(Py_None); segment_type = Py_None; }