Add missing variable declaration
Merge pull request #1652 from eordano/fix/missingVar

Add missing variable declaration