Reuse variable
Merge pull request #3304 from sebastianseilund/simplification1

Reuse variable