Commit 3c3e3dca authored by Dominik Charousset's avatar Dominik Charousset

Fix "unused parameter" warnings

parent 2ced36ba
...@@ -32,9 +32,8 @@ abstract_group::subscription::subscription(const abstract_group_ptr& g) ...@@ -32,9 +32,8 @@ abstract_group::subscription::subscription(const abstract_group_ptr& g)
// nop // nop
} }
void abstract_group::subscription::actor_exited(abstract_actor* self, void abstract_group::subscription::actor_exited(abstract_actor* ptr, uint32_t) {
uint32_t reason) { m_group->unsubscribe(ptr->address());
m_group->unsubscribe(self->address());
} }
bool abstract_group::subscription::matches(const token& what) { bool abstract_group::subscription::matches(const token& what) {
......
...@@ -947,7 +947,7 @@ void test_constructor_attach() { ...@@ -947,7 +947,7 @@ void test_constructor_attach() {
class exception_testee : public event_based_actor { class exception_testee : public event_based_actor {
public: public:
exception_testee() { exception_testee() {
set_exception_handler([](const std::exception_ptr& eptr) -> optional<uint32_t> { set_exception_handler([](const std::exception_ptr&) -> optional<uint32_t> {
return exit_reason::user_defined + 2; return exit_reason::user_defined + 2;
}); });
} }
......
...@@ -278,7 +278,7 @@ int_actor::behavior_type int_fun2(int_actor::pointer self) { ...@@ -278,7 +278,7 @@ int_actor::behavior_type int_fun2(int_actor::pointer self) {
CAF_CHECK_EQUAL(dm.reason, exit_reason::normal); CAF_CHECK_EQUAL(dm.reason, exit_reason::normal);
self->quit(); self->quit();
}, },
[=](const exit_msg& em) { [=](const exit_msg&) {
CAF_UNEXPECTED_MSG(self); CAF_UNEXPECTED_MSG(self);
} }
}; };
......
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