Reuse variable value, return earlier.
Merge pull request #289 from Dmitry-Me/ReuseVariableAndReturnEarlier

Reuse variable value, return earlier.