fix compile warning when meson build
- Fix compile warning:
[-Werror=unused-variable], [-Werror=sign-compare] and
deprecated INSTANTIATE_TEST_CASE_P
Signed-off-by: Harvey.Wu <Harvey.Wu@quantatw.com>
Change-Id: If8713f0b938cd5306bbe19a9078731db0c3667dc
diff --git a/setsensor.cpp b/setsensor.cpp
index 53559f2..543700e 100644
--- a/setsensor.cpp
+++ b/setsensor.cpp
@@ -82,7 +82,7 @@
}
}
-int main(int argc, char* argv[])
+int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
{
int rc = 0;