util: Marked args as unused for compiler in X Error handlers
commitcd78f11abc4f3d3f47d96c168a336ad796853c91
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 1 Nov 2013 15:06:45 +0000 (1 16:06 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 1 Nov 2013 17:27:10 +0000 (1 15:27 -0200)
tree83ad065a7ca7d61b581b9d7e500ede031cd97548
parent2757713637fa18ca70ff9dbc55bf8c54c9d46a2c
util: 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>
util/wmsetbg.c
util/wxcopy.c