Commit 34e75dd0 authored by Dominik Charousset's avatar Dominik Charousset

Remove redundant variables

parent 2c60faf1
......@@ -213,7 +213,6 @@ msg_type filter_msg(local_actor* self, mailbox_element& node) {
binary_serializer bs{std::back_inserter(buf)};
self->save(bs, 0);
auto sender = node.sender;
auto mid = node.mid;
// sync_send(...)
auto req = self->sync_send_impl(message_priority::normal, mm,
migrate_atom::value, self->name(),
......
......@@ -197,7 +197,7 @@ optional<routing_table::route> routing_table::lookup(const node_id& target) {
auto& hops = i->second;
while (! hops.empty()) {
auto& hop = *hops.begin();
auto hdl = lookup_direct(hop);
hdl = lookup_direct(hop);
if (hdl != invalid_connection_handle)
return route{parent_->wr_buf(hdl), hop, hdl};
else
......
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