Conditionally declare variables if their use is conditional.
Conditionally declare variables if their use is conditional.

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

Distrotech/libdaemon,Distrotech/libdaemon,Distrotech/libdaemon,richardcochran/libdaemon,richardcochran/libdaemon