fix warnings
Fix a couple warnings so we can use meson warning level 3. Instances of
the following warnings are found and resolved:
Wreorder
Wsign-compare
Change-Id: Ia223b42aa6bf743cfa0e7042cc3d5a18977459be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/MCUTempSensor.cpp b/src/MCUTempSensor.cpp
index 581919c..06376b6 100644
--- a/src/MCUTempSensor.cpp
+++ b/src/MCUTempSensor.cpp
@@ -62,8 +62,8 @@
std::move(thresholdData), sensorConfiguration,
"xyz.openbmc_project.Configuration.ExitAirTemp", mcuTempMaxReading,
mcuTempMinReading),
- objectServer(objectServer), dbusConnection(conn), waitTimer(io),
- busId(busId), mcuAddress(mcuAddress), tempReg(tempReg)
+ busId(busId), mcuAddress(mcuAddress), tempReg(tempReg),
+ objectServer(objectServer), dbusConnection(conn), waitTimer(io)
{
sensorInterface = objectServer.add_interface(
"/xyz/openbmc_project/sensors/temperature/" + name,