Fix MSVC warning

Unused variable on release build

Change-Id: I2da8e1521d68d37facdf991a8943255dc01af34e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>