Remove an unused variable

This fixes a warning in MSVC.
Merge pull request #497 from mstorsjo/remove-unused-variable

Remove an unused variable