There are no performance issues, but it shouldn't be necessary. `if` blocks do not introduce a new scope.