fixups for clang-20

This avoids -Werror=maybe-uninitialized

Tested: Unit Tests Pass

Change-Id: I9d9f953550675b4929cd069c82794a76c05f5bd6
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/bmc/item_updater.cpp b/bmc/item_updater.cpp
index 2e889fb..77c9a70 100644
--- a/bmc/item_updater.cpp
+++ b/bmc/item_updater.cpp
@@ -493,6 +493,7 @@
     auto it = versions.find(entryId);
     if (it != versions.end())
     {
+        // NOLINTNEXTLINE(misc-redundant-expression)
         if (it->second->isFunctional() && ACTIVE_BMC_MAX_ALLOWED > 1)
         {
             error(