Solved failing AppVeyor build

Removed unused variable, s.t. AppVeyor doesn't treat this warning as an error