Unverified Commit 0867f98c authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #748

Fix pedantic compiler warnings
parents 42b0209a 49f4fc31
...@@ -118,11 +118,11 @@ meta_state ms_res_meta{ ...@@ -118,11 +118,11 @@ meta_state ms_res_meta{
namespace detail { namespace detail {
DEFAULT_META(atom_value); DEFAULT_META(atom_value)
DEFAULT_META(size_t); DEFAULT_META(size_t)
DEFAULT_META(string); DEFAULT_META(string)
config_option::meta_state bool_meta_state{ config_option::meta_state bool_meta_state{
bool_check, bool_store, bool_get, detail::type_name<bool>() bool_check, bool_store, bool_get, detail::type_name<bool>()
......
...@@ -24,6 +24,7 @@ namespace caf { ...@@ -24,6 +24,7 @@ namespace caf {
namespace detail { namespace detail {
void log_cstring_error(const char* cstring) { void log_cstring_error(const char* cstring) {
CAF_IGNORE_UNUSED(cstring);
CAF_LOG_ERROR(cstring); CAF_LOG_ERROR(cstring);
} }
......
...@@ -712,7 +712,7 @@ default_multiplexer::new_datagram_servant_for_endpoint(native_socket fd, ...@@ -712,7 +712,7 @@ default_multiplexer::new_datagram_servant_for_endpoint(native_socket fd,
auto ds = new_datagram_servant(fd); auto ds = new_datagram_servant(fd);
ds->add_endpoint(ep, ds->hdl()); ds->add_endpoint(ep, ds->hdl());
return ds; return ds;
}; }
expected<datagram_servant_ptr> expected<datagram_servant_ptr>
default_multiplexer::new_remote_udp_endpoint(const std::string& host, default_multiplexer::new_remote_udp_endpoint(const std::string& host,
......
...@@ -212,7 +212,7 @@ bool instance::handle(execution_unit* ctx, new_datagram_msg& dm, ...@@ -212,7 +212,7 @@ bool instance::handle(execution_unit* ctx, new_datagram_msg& dm,
if (!callee_.deliver_pending(ctx, ep, false)) if (!callee_.deliver_pending(ctx, ep, false))
return err(); return err();
return true; return true;
}; }
void instance::handle_heartbeat(execution_unit* ctx) { void instance::handle_heartbeat(execution_unit* ctx) {
CAF_LOG_TRACE(""); CAF_LOG_TRACE("");
......
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