meson support: remove code warnings 2
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 control
changes (plus one in sensor-monitor).
Change-Id: Ie20f1d9028add4b605e4cc9fb230940710365706
Signed-off-by: Mike Capps <mikepcapps@gmail.com>
diff --git a/control/json/actions/mapped_floor.hpp b/control/json/actions/mapped_floor.hpp
index 6866250..9c8a937 100644
--- a/control/json/actions/mapped_floor.hpp
+++ b/control/json/actions/mapped_floor.hpp
@@ -1,5 +1,5 @@
/**
- * Copyright © 2021 IBM Corporation
+ * Copyright © 2022 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -192,12 +192,9 @@
*
* @param[in] group - The group to get the max value of
*
- * @param[in] manager - The Manager object
- *
* @return optional<PropertyVariantType> - The value, or std::nullopt
*/
- std::optional<PropertyVariantType> getMaxGroupValue(const Group& group,
- const Manager& manager);
+ std::optional<PropertyVariantType> getMaxGroupValue(const Group& group);
/**
* @brief Returns a pointer to the group object specified