Commit 38688a69 authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

message engine: cleanup

Change-Id: Ice0edcdc9de54175fe60930aa9e19cf0f0c9b104
parent 81e4b2f8
...@@ -78,7 +78,6 @@ MessageEngine::retrySend(const std::string& peer) ...@@ -78,7 +78,6 @@ MessageEngine::retrySend(const std::string& peer)
std::vector<PendingMsg> pending {}; std::vector<PendingMsg> pending {};
{ {
std::lock_guard<std::mutex> lock(messagesMutex_); std::lock_guard<std::mutex> lock(messagesMutex_);
auto now = clock::now();
auto p = messages_.find(peer); auto p = messages_.find(peer);
if (p == messages_.end()) if (p == messages_.end())
return; return;
......
Supports Markdown
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