]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2853] Remove unused catch argument name
authorMukund Sivaraman <muks@isc.org>
Wed, 12 Jun 2013 13:15:09 +0000 (18:45 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 12 Jun 2013 13:15:12 +0000 (18:45 +0530)
The compiler should have caught this, but it didn't.

src/lib/python/isc/datasrc/configurableclientlist_python.cc

index 170e237b3f406604f2ecb91a0a6e0d2177cc241f..9ccdc060810e4207559ef45f8b16fa60cec6392f 100644 (file)
@@ -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;
             }