Parcourir la source

[2853] Remove unused catch argument name

The compiler should have caught this, but it didn't.
Mukund Sivaraman il y a 12 ans
Parent
commit
bd3f52daf5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/python/isc/datasrc/configurableclientlist_python.cc

+ 1 - 1
src/lib/python/isc/datasrc/configurableclientlist_python.cc

@@ -214,7 +214,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) {
             try {
             try {
                 segment_type = Py_BuildValue(
                 segment_type = Py_BuildValue(
                     "s", status[i].getSegmentType().c_str());
                     "s", status[i].getSegmentType().c_str());
-            } catch (const isc::InvalidOperation& e) {
+            } catch (const isc::InvalidOperation&) {
                 Py_INCREF(Py_None);
                 Py_INCREF(Py_None);
                 segment_type = Py_None;
                 segment_type = Py_None;
             }
             }