mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-22 13:08:06 +00:00
Fix cppcheck error
This commit is contained in:
parent
f37abe8f0f
commit
be73b099a7
@ -112,6 +112,8 @@ bool PacketHistory::wasRelayer(const uint8_t relayer, const uint32_t id, const N
|
|||||||
PacketRecord r;
|
PacketRecord r;
|
||||||
r.id = id;
|
r.id = id;
|
||||||
r.sender = sender;
|
r.sender = sender;
|
||||||
|
r.rxTimeMsec = 0;
|
||||||
|
r.next_hop = 0;
|
||||||
auto found = recentPackets.find(r);
|
auto found = recentPackets.find(r);
|
||||||
|
|
||||||
if (found == recentPackets.end()) {
|
if (found == recentPackets.end()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user