Merge pull request #1733 from null77/fix-msvc-warn

Suppress MSVC warning about unused variable.