mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Storage::ProcessIncoming(): Don't override parameter with local.
This commit is contained in:
@@ -137,10 +137,10 @@ void Storage::ProcessIncoming(std::shared_ptr<Message> 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user