main: fix 'unused-parameter' warnings
Change-Id: I4412ff1707fca77556ca8e3a1b15f912f32f8213
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/main.cpp b/main.cpp
index 6a5aaac..6df25ec 100644
--- a/main.cpp
+++ b/main.cpp
@@ -7,8 +7,8 @@
#include <iomanip>
/* Call Back for the sd event loop */
-static int requestHandler(sd_event_source* es, int fd, uint32_t revents,
- void* userdata)
+static int requestHandler(sd_event_source* /*es*/, int fd, uint32_t /*revents*/,
+ void* /*userdata*/)
{
int rc = slp::SUCCESS;
timeval tv{slp::TIMEOUT, 0};
@@ -57,7 +57,7 @@
return slp::SUCCESS;
}
-int main(int argc, char* argv[])
+int main()
{
slp::udp::Server svr(slp::PORT, requestHandler);
return svr.run();