From 30fd8a1f75dac7829bdaf54c70905320600845aa Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 13 Oct 2013 15:41:59 +0200 Subject: [PATCH] wmaker: Marked arg as unused for compiler in callback code As a callback function has a fixed prototype, it is not an error to have some arguments unused, but we need to let the compiler about it to avoid spurious messages that would hide real cases. Signed-off-by: Christophe CURIS --- src/startup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/startup.c b/src/startup.c index 90154d82..ce5a7741 100644 --- a/src/startup.c +++ b/src/startup.c @@ -163,6 +163,8 @@ static RETSIGTYPE handleExitSig(int sig) /* Dummy signal handler */ static void dummyHandler(int sig) { + /* Parameter is not used, but tell the compiler that it is ok */ + (void) sig; } /* -- 2.11.4.GIT