gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
This will only be used internally by GtkStyleContext in order to animate state changes. When a proper animation framework is introduced in GTK+, it may be ditched.