From 5e15067285c71189f0c580e3817dc337526222f5 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 f592e08ee..85cf482e7 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -2237,9 +2237,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; }