Fix code where goto jumped over local variable initialization.