1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-06 17:35:47 +01:00

WINGs: Marked args as unused for compiler in a few more callback functions

As callback have a fixed prototype, it is correct to not use all the
arguments, so this patch adds the appropriate stuff to avoid a false
report from compiler.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-10-19 22:17:56 +02:00
committed by Carlos R. Mafra
parent ea74fe8871
commit bd58625a3f
4 changed files with 37 additions and 0 deletions

View File

@@ -342,6 +342,9 @@ static void handleActionEvents(XEvent * event, void *data)
WMScreen *scr = WMWidgetScreen(cPtr);
WMColorPanel *cpanel;
/* Parameter not used, but tell the compiler that it is ok */
(void) event;
if (cPtr->flags.active)
W_SetViewBackgroundColor(cPtr->view, scr->gray);
else