From: Christophe CURIS <[email protected]> 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 <[email protected]> --- src/startup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/startup.c b/src/startup.c index 90154d8..ce5a774 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; } /* -- 1.8.4.rc3 -- To unsubscribe, send mail to [email protected].
