Conditionally declare variables if their use is conditional.

Reduces warnings about unused variables by not declaring them if they
are under an #ifdef conditional.
1 file changed