Use local variable to improve readability.

No functional change intended.