|
@@ -1,4 +1,4 @@
|
|
|
-// Copyright (C) 2013-2014 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
|
|
//
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
@@ -189,7 +189,7 @@ setDomainName(const std::string& domain_name,
|
|
|
try {
|
|
|
domain_name_.reset(new isc::dns::Name(name, true));
|
|
|
|
|
|
- } catch (const Exception& ex) {
|
|
|
+ } catch (const Exception&) {
|
|
|
isc_throw(InvalidOption6FqdnDomainName, "invalid domain-name value '"
|
|
|
<< domain_name << "' when setting new domain-name for"
|
|
|
<< " DHCPv6 Client FQDN Option");
|
|
@@ -249,7 +249,7 @@ Option6ClientFqdnImpl::parseWireData(OptionBufferConstIter first,
|
|
|
isc::util::InputBuffer name_buf(&buf[0], buf.size());
|
|
|
try {
|
|
|
domain_name_.reset(new isc::dns::Name(name_buf, true));
|
|
|
- } catch (const Exception& ex) {
|
|
|
+ } catch (const Exception&) {
|
|
|
isc_throw(InvalidOption6FqdnDomainName, "failed to parse"
|
|
|
"partial domain-name from wire format");
|
|
|
}
|
|
@@ -264,7 +264,7 @@ Option6ClientFqdnImpl::parseWireData(OptionBufferConstIter first,
|
|
|
std::distance(first, last));
|
|
|
try {
|
|
|
domain_name_.reset(new isc::dns::Name(name_buf, true));
|
|
|
- } catch (const Exception& ex) {
|
|
|
+ } catch (const Exception&) {
|
|
|
isc_throw(InvalidOption6FqdnDomainName, "failed to parse"
|
|
|
"fully qualified domain-name from wire format");
|
|
|
}
|