Narrow scope of variable due to goto