Fix build errors with GCC 14
Fix various build errors exposed after updating to GCC 14.
Change-Id: Iec680182785b32650741115ed7d758b2b6bf7d38
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/src/bridgingcommands.cpp b/src/bridgingcommands.cpp
index 465659f..3fa8635 100644
--- a/src/bridgingcommands.cpp
+++ b/src/bridgingcommands.cpp
@@ -315,7 +315,7 @@
return ipmi::ccUnspecifiedError;
}
- std::vector<uint8_t> dataReceived(0);
+ std::vector<uint8_t> dataReceived{};
int status = -1;
uint8_t netFn = 0, lun = 0, cmd = 0, cc = 0;