fix compiler warnings

Fix a couple unused-parameter warnings so we can turn the warnings all
the way up.

Change-Id: I36c611da5a10732dbb89e289e42a870c902dd245
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/ubi/watch.cpp b/ubi/watch.cpp
index 9cbed5d..1b68fd1 100644
--- a/ubi/watch.cpp
+++ b/ubi/watch.cpp
@@ -65,8 +65,7 @@
     }
 }
 
-int Watch::callback(sd_event_source* s, int fd, uint32_t revents,
-                    void* userdata)
+int Watch::callback(sd_event_source*, int fd, uint32_t revents, void* userdata)
 {
     if (!(revents & EPOLLIN))
     {