Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
677c3d84
Commit
677c3d84
authored
Mar 11, 2011
by
Jelte Jansen
Browse files
[master] re-add return to make cppcheck happy
added a comment that at this point this is safe
parent
67bfb6c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ext/asio/asio/detail/kqueue_reactor.hpp
View file @
677c3d84
...
...
@@ -205,7 +205,7 @@ public:
// Cancel all operations associated with the given descriptor. The
// handlers associated with the descriptor will be invoked with the
// operation_aborted error.
void
cancel_ops
(
socket_type
descriptor
,
per_descriptor_data
&
descriptor_data
)
void
cancel_ops
(
socket_type
,
per_descriptor_data
&
descriptor_data
)
{
mutex
::
scoped_lock
descriptor_lock
(
descriptor_data
->
mutex_
);
...
...
src/lib/nsas/zone_entry.cc
View file @
677c3d84
...
...
@@ -269,6 +269,11 @@ ZoneEntry::removeCallback(const CallbackPtr& callback, AddressFamily family) {
for
(;
i
!=
callbacks_
[
family
].
end
();
++
i
)
{
if
(
*
i
==
callback
)
{
callbacks_
[
family
].
erase
(
i
);
// At this point, a callback should only be in the list
// once (enforced by RunningQuery doing only one at a time)
// If that changes, we need to revise this (can't delete
// elements from a list we're looping over)
return
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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