mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
Remove UNUSED() macro and disable the compiler warning instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
e46e3cdcb6
commit
30822f0d68
27 files changed
+51
-52
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ static char *mkcond(char *buf, size_t len, char *nm)
|
||||
return buf;
|
||||
}
|
||||
|
||||
static void pidfile_callback(void *UNUSED(arg), int fd, int UNUSED(events))
|
||||
static void pidfile_callback(void *arg, int fd, int events)
|
||||
{
|
||||
static char ev_buf[8 *(sizeof(struct inotify_event) + NAME_MAX + 1) + 1];
|
||||
static char cond[MAX_ARG_LEN];
|
||||
|
||||
Reference in new issue
Block a user