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/triggers.cpp b/control/triggers.cpp
index 5847576..362f4b6 100644
--- a/control/triggers.cpp
+++ b/control/triggers.cpp
@@ -65,8 +65,8 @@
 Trigger init(MethodHandler&& handler)
 {
     return [handler = std::move(handler)](
-               control::Zone& zone, const std::string& name, const Group& group,
-               const std::vector<Action>& actions) {
+               control::Zone& zone, const std::string& /*name*/,
+               const Group& group, const std::vector<Action>& actions) {
         // A handler function is optional
         if (handler)
         {