Make sure variable is initialized before doing comparison.