From 53a0531def875d6aa234b6e33d69eb8759b6dbef Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 2 Aug 2015 23:20:42 -0700 Subject: [PATCH] Storage::ProcessIncoming(): Don't override parameter with local. --- src/Storage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Storage.cpp b/src/Storage.cpp index 08dfdaddd3..38709c1fdf 100644 --- a/src/Storage.cpp +++ b/src/Storage.cpp @@ -137,10 +137,10 @@ void Storage::ProcessIncoming(std::shared_ptr msg, if (seq_num < entry->seq_num) { if (may_need_update) { auto queue_outgoing = m_queue_outgoing; - auto msg = Message::EntryUpdate(entry->id, entry->seq_num.value(), - entry->value); + auto outmsg = Message::EntryUpdate(entry->id, entry->seq_num.value(), + entry->value); lock.unlock(); - queue_outgoing(msg, nullptr, nullptr); + queue_outgoing(outmsg, nullptr, nullptr); } return; }