meson: fix up compile errors found by meson
meson enables more error checking by default so in preperation for
moving to it, fix all errors in the code it has found.
This breaks down into the following issues:
- Unused variables: remove where applicable, otherwise void out
- Extra ';'
- Local includes need to use ""
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I94d9b4d2ffc85ae46d941e1a190fafd4ba5bd893
diff --git a/chassis_state_manager.hpp b/chassis_state_manager.hpp
index 4780e0f..d1943dc 100644
--- a/chassis_state_manager.hpp
+++ b/chassis_state_manager.hpp
@@ -40,13 +40,10 @@
* determineInitialState() and set our properties
*
* @param[in] bus - The Dbus bus object
- * @param[in] instance - The instance of this object
* @param[in] objPath - The Dbus object path
*/
- Chassis(sdbusplus::bus::bus& bus, const char* busName,
- const char* objPath) :
- ChassisInherit(bus, objPath, true),
- bus(bus),
+ Chassis(sdbusplus::bus::bus& bus, const char* objPath) :
+ ChassisInherit(bus, objPath, true), bus(bus),
systemdSignals(
bus,
sdbusRule::type::signal() + sdbusRule::member("JobRemoved") +