Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
a5c94063
Commit
a5c94063
authored
Dec 13, 2011
by
Yoshitaka Aharen
Browse files
[510] fix unused variable
parent
f84f2637
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/statistics/counter_dict.cc
View file @
a5c94063
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment