forked from premiere/premiere-libtorrent
Remove unnecessary selection statements.
This commit is contained in:
parent
4b702701b2
commit
b26d08c66a
|
@ -83,16 +83,8 @@ struct direct_observer : observer
|
|||
if (flags & flag_done) return;
|
||||
flags |= flag_done;
|
||||
bdecode_node e;
|
||||
if (flags & flag_ipv6_address)
|
||||
{
|
||||
msg m(e, target_ep());
|
||||
static_cast<direct_traversal*>(algorithm())->invoke_cb(m);
|
||||
}
|
||||
else
|
||||
{
|
||||
msg m(e, target_ep());
|
||||
static_cast<direct_traversal*>(algorithm())->invoke_cb(m);
|
||||
}
|
||||
msg m(e, target_ep());
|
||||
static_cast<direct_traversal*>(algorithm())->invoke_cb(m);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue