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_helper.hpp b/bmc/item_updater_helper.hpp
index 2b10e8f..b90f498 100644
--- a/bmc/item_updater_helper.hpp
+++ b/bmc/item_updater_helper.hpp
@@ -66,7 +66,7 @@
private:
/** @brief Persistent sdbusplus D-Bus bus connection. */
- sdbusplus::bus_t& bus;
+ [[maybe_unused]] sdbusplus::bus_t& bus;
};
} // namespace updater