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"
+ isc_throw(InvalidOption6FqdnDomainName, "failed to parse "
"partial domain-name from wire format");
}
// Terminating zero was missing, so set the domain-name type
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"
+ isc_throw(InvalidOption6FqdnDomainName, "failed to parse "
"fully qualified domain-name from wire format");
}
// Set the domain-type to fully qualified domain name.