WINGs: Marked args as unused for compiler in X Error handlers
commit237c386fdc0db7300826c068bad06f3edb19a7c4
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 19 Oct 2013 20:17:54 +0000 (19 22:17 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 19 Oct 2013 21:01:36 +0000 (19 18:01 -0300)
treed82f5686d0fe017881a12c0b5feac9ce9334b814
parent702764a7b0c957f8db62920e43150da672f6e340
WINGs: Marked args as unused for compiler in X Error handlers

When an error occurs in X, the Xlib is using a callback mechanism to
execute application code to handle the problem, which means having a
fixed argument list for that application function.

It is then 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>
WINGs/dragcommon.c
WINGs/selection.c