wmaker: Minor improvements to function 'shade_animate' when empty on purpose
commit667bb9191bddaf00cc5c2a86180ee2198c8957f9
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 10 Nov 2013 16:41:07 +0000 (10 17:41 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:04 +0000 (30 18:11 +0000)
tree0f99c21a5bf79fef4cfc3fe92fb176b98aa3aadb
parent62565b42f61f26fd502005658ed1fddf9425a4b4
wmaker: Minor improvements to function 'shade_animate' when empty on purpose

When animations are disabled, we still create the function but we make it
empty to keep the rest of the code simple. This patch does:
 - mark the function inline, to increase the probability that the compiler
will not generate the function at all;
 - mark arguments as unused to avoid some compilation warnings.

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