From: Christophe CURIS <[email protected]> When the process receive a signal, a callback function is used, which means having a fixed argument list for that application function.
It is then correct to not use the argument, so this patch adds the appropriate stuff to avoid a false report from compiler. Signed-off-by: Christophe CURIS <[email protected]> --- WPrefs.app/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WPrefs.app/main.c b/WPrefs.app/main.c index d6b3946..08dcb58 100644 --- a/WPrefs.app/main.c +++ b/WPrefs.app/main.c @@ -45,6 +45,9 @@ static int DeadChildrenCount = 0; static void wAbort(Bool foo) { + /* Parameter not used, but tell the compiler that it is ok */ + (void) foo; + exit(1); } -- 1.8.4.rc3 -- To unsubscribe, send mail to [email protected].
