WPrefs: Marked args as unused for compiler in X Error handler
commitdd82c46335bbea64fe5767f8cff8ec571eb0db8f
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 1 Nov 2013 15:06:47 +0000 (1 16:06 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 1 Nov 2013 17:27:10 +0000 (1 15:27 -0200)
tree3acfffc0070f15534a95047bec4ef53bca093276
parent66f6817966aefc9d2091777b2a37616fbd60b2db
WPrefs: Marked args as unused for compiler in X Error handler

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>
WPrefs.app/editmenu.c