mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Declare unused parameters
When building with global CFLAGS=-Wunused-parameter the output from the build looks terrible. This commit explicitly declares unused variables to prevent triggering -Wunused-parameter Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
10 files changed
+55
No files matched your search
@@ -1562,6 +1562,8 @@ static int conf_iwatch_read(int fd)
|
||||
|
||||
static void conf_cb(uev_t *w, void *arg, int events)
|
||||
{
|
||||
(void)arg;
|
||||
|
||||
if (UEV_ERROR == events) {
|
||||
dbg("%s(): iwatch socket %d invalid.", __func__, w->fd);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user