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 authored and Carlos R. Mafra committed 2013-10-19 18:01:36 -03:00
1 parent ea74fe8871
commit bd58625a3f
4 files changed
+37

No files matched your search

+3
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