Fix the error spotted by meson
- This commit would fix the error that are spotted by meson
when werror=true is enforced.
Tested By:
- Compiled in all the sdks, and unit tests are passed.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ie4c2f26af2b62b019e908cceea18cf22cf2e4607
diff --git a/watch.cpp b/watch.cpp
index 89fef81..0efe300 100644
--- a/watch.cpp
+++ b/watch.cpp
@@ -65,7 +65,7 @@
return fd;
}
-int Watch::processEvents(sd_event_source* eventSource, int fd,
+int Watch::processEvents(sd_event_source* /*eventSource*/, int fd,
uint32_t retEvents, void* userData)
{
auto watch = static_cast<Watch*>(userData);