Commit a5c94063 authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[510] fix unused variable

parent f84f2637
......@@ -77,7 +77,7 @@ Counter&
CounterDictionaryImpl::getElement(const std::string& name) {
try {
return (*(dictionary_.at(name)));
} catch (const std::out_of_range &e) {
} catch (const std::out_of_range&) {
// If an element with specified name does not exist, throw
// isc::OutOfRange.
isc_throw(isc::OutOfRange, "Element " << name << " does not exist");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment