Move variable declaration, fixes the warning: