Unverified Commit 61549251 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #70

Silence unused parameter warnings
parents e1060543 4bb00349
...@@ -90,7 +90,8 @@ public: ...@@ -90,7 +90,8 @@ public:
} }
template <class Parent> template <class Parent>
void resolve(Parent&, const uri& locator, const actor& listener) { void
resolve(Parent&, [[maybe_unused]] const uri& locator, const actor& listener) {
CAF_LOG_ERROR("doorman called to resolve" << CAF_ARG(locator)); CAF_LOG_ERROR("doorman called to resolve" << CAF_ARG(locator));
anon_send(listener, resolve_atom_v, "doormen cannot resolve paths"); anon_send(listener, resolve_atom_v, "doormen cannot resolve paths");
} }
...@@ -116,7 +117,7 @@ public: ...@@ -116,7 +117,7 @@ public:
CAF_LOG_ERROR("doorman received timeout" << CAF_ARG(tag) << CAF_ARG(id)); CAF_LOG_ERROR("doorman received timeout" << CAF_ARG(tag) << CAF_ARG(id));
} }
void handle_error(sec err) { void handle_error([[maybe_unused]] sec err) {
CAF_LOG_ERROR("doorman encounterd error: " << err); CAF_LOG_ERROR("doorman encounterd error: " << err);
} }
......
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