1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

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 <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-10-13 15:41:59 +02:00
committed by Carlos R. Mafra
parent 1b2f3c0431
commit 30fd8a1f75

View File

@@ -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;
}
/*