Commit 49f4fc31 authored by Jon Siwek's avatar Jon Siwek

Fix pedantic compiler warnings

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