Well, if it inserted a semicolon right here, then this would be interpreted as an empty if block, so this statement below would actually not be part of the if statement, and would get called all the time, which probably isn't what you want to happen.