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:
committed by
Carlos R. Mafra
parent
ea74fe8871
commit
bd58625a3f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user