From 1d896f1bbad3227ded398eb48f1c86b422d2304b Mon Sep 17 00:00:00 2001 From: Clive Blackledge Date: Tue, 23 Sep 2025 13:58:36 -0700 Subject: [PATCH] Renaming node to coldNode to avoid shadowing. --- src/mesh/NodeDB.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index 1e1c2d99e..14c59c966 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -2265,9 +2265,9 @@ meshtastic_NodeInfoLite *NodeDB::getOrCreateMeshNode(NodeNum n) oldest = hot.last_heard; oldestIndex = i; } - const auto &node = psramMeshNodes[i]; - if (!(hot.flags & HOT_FLAG_IS_FAVORITE) && !(hot.flags & HOT_FLAG_IS_IGNORED) && node.user.public_key.size == 0 && - hot.last_heard < oldestBoring) { + const auto &coldNode = psramMeshNodes[i]; + if (!(hot.flags & HOT_FLAG_IS_FAVORITE) && !(hot.flags & HOT_FLAG_IS_IGNORED) && + coldNode.user.public_key.size == 0 && hot.last_heard < oldestBoring) { oldestBoring = hot.last_heard; oldestBoringIndex = i; }