Use Boolean macro in variable.c
Merge pull request #2494 from suzukaze/refactor-variable.c

Use Boolean macro in variable.c