wmaker: fix warnings from compiler when animations are disabled
commite14fad11626e881b104d4cc520abfdecdb82532f
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 May 2015 11:19:03 +0000 (8 13:19 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 8 May 2015 17:53:29 +0000 (8 18:53 +0100)
tree513552c97f64ece0c57a650452145e21d49da9cf
parent0bab67f9be51efbd178a2c8ab43ce73cbc083777
wmaker: fix warnings from compiler when animations are disabled

The code for animating stuff needs some parameters in a few functions,
which are not used when animations are disabled at compile time, so the
compiler issues some warnings about them.

This patch adds the appropriate statements to disable declaration that
are not needed in this case, and tell the compiler it is ok to not use
the parameters not needed, thus fixing the warnings.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/actions.c
src/misc.c