Check for multiple declaration of variable