meson support: remove code warnings 1
This commit contains code changes necessary to support the increased
warning level from Meson builds. Most changes are for unused variables.
To keep the review size manageable, this commit contains only monitor
and presence changes (and top-level json_config.hpp).
Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I7280b512c54e8d5aeba3300764a239f3dcbab14d
diff --git a/monitor/json_parser.hpp b/monitor/json_parser.hpp
index c6b64ec..7f09fd3 100644
--- a/monitor/json_parser.hpp
+++ b/monitor/json_parser.hpp
@@ -43,15 +43,13 @@
/**
* @brief Get the JSON object
*
- * @param[in] bus - The dbus bus object
- *
* @return JSON object
* A JSON object created after loading the JSON configuration file
*/
-inline const json getJsonObj(sdbusplus::bus::bus& bus)
+inline const json getJsonObj()
{
return fan::JsonConfig::load(
- fan::JsonConfig::getConfFile(bus, confAppName, confFileName));
+ fan::JsonConfig::getConfFile(confAppName, confFileName));
}
/**