Fixed warning about unused variable on Windows

Fixed warning about unused variable on Windows