Remove an unused variable

This fixes a warning in MSVC.