summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/parsers
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-05-12 20:18:25 +0200
committerFrancis Dupont <fdupont@isc.org>2015-05-12 20:18:25 +0200
commit2cd955a8440d3c26b92dca40ff62282c69153296 (patch)
tree75242a301c7a18e3a86169573d2096a1d8dafc35 /src/lib/dhcpsrv/parsers
parent[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea (diff)
downloadkea-2cd955a8440d3c26b92dca40ff62282c69153296.tar.xz
kea-2cd955a8440d3c26b92dca40ff62282c69153296.zip
[3839] unused exception handler variable aka #3839
Diffstat (limited to 'src/lib/dhcpsrv/parsers')
-rw-r--r--src/lib/dhcpsrv/parsers/dhcp_parsers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/parsers/dhcp_parsers.cc b/src/lib/dhcpsrv/parsers/dhcp_parsers.cc
index 6898049ce8..da304d6251 100644
--- a/src/lib/dhcpsrv/parsers/dhcp_parsers.cc
+++ b/src/lib/dhcpsrv/parsers/dhcp_parsers.cc
@@ -357,7 +357,7 @@ OptionDataParser::extractCode(ConstElementPtr parent) const {
try {
code = uint32_values_->getParam("code");
- } catch (const exception& ex) {
+ } catch (const exception&) {
// The code parameter was not found. Return an unspecified
// value.
return (OptionalValue<uint32_t>());