Fix compiler warning about uninitialised variable.
Merge pull request #2472 from zerebubuth/warning_2468

Fix compiler warning about uninitialised variable.