My comment wasn't about the assigned initial value. It was the fact that it was defined OUTSIDE where it's needed which is inside the event function. 

By only initializing variables near where they're needed it's easier to maintain the code since there are less strands to clean up.