build: fix some warnings
Fix a couple of warnings:
-Werror=unused-parameter
-Werror=non-virtual-dtor
so we can use meson's warning_level=3 and -Werror without build
failures.
Change-Id: Id3c15c2fee70799bee98a8d2890c33ab5ebfd563
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/power-sequencer/pgood_monitor.cpp b/power-sequencer/pgood_monitor.cpp
index 98c3faa..fc593f0 100644
--- a/power-sequencer/pgood_monitor.cpp
+++ b/power-sequencer/pgood_monitor.cpp
@@ -95,7 +95,7 @@
bus,
sdbusplus::bus::match::rules::propertiesChanged(POWER_OBJ_PATH,
POWER_INTERFACE),
- [this](auto& msg) { this->propertyChanged(); });
+ [this](auto&) { this->propertyChanged(); });
}
int PGOODMonitor::run()