Refactoring: Move a local variable declaration and assignment closer to where the variable is first used.
This makes the code easier to read.
Authored by: david_costanzo 2026-04-03
Parent: [r6137]
Child: [r6139]