removed unnecessary assert(false) from rpc_manager

This commit is contained in:
Arvid Norberg 2007-03-10 20:23:16 +00:00
parent 4b68dce5f0
commit 034231566a
1 changed files with 2 additions and 8 deletions

View File

@ -324,10 +324,7 @@ void rpc_manager::invoke(int message_id, udp::endpoint target_addr
}
catch (std::exception& e)
{
#ifndef NDEBUG
std::cerr << e.what() << "\n";
#endif
assert(false);
// m_send may fail with "no route to host"
}
}
@ -389,10 +386,7 @@ void rpc_manager::reply_with_ping(msg& m, msg const& reply_to)
}
catch (std::exception& e)
{
#ifndef NDEBUG
std::cerr << e.what() << "\n";
#endif
assert(false);
// m_send may fail with "no route to host"
}
}