address tool-cppcheck error

This commit is contained in:
Jm Casler 2022-03-06 15:46:56 -08:00
parent c1c8fea21e
commit 2a2448e367

View File

@ -75,8 +75,6 @@ void FloodingRouter::sniffReceived(const MeshPacket *p, const Routing *c)
rebroadcastPacket = false;
}
rebroadcastPacket = true;
}
if ((p->to == NODENUM_BROADCAST) && (p->hop_limit > 0) && (getFrom(p) != getNodeNum() && rebroadcastPacket)) {