Reduce a variable's scope (no functionality change)