fix compiler warnings in RELEASE mode under Windows

reg. possible uninitialized use of some variables and some unused
parameters
Merge pull request #1553 from Jojo-Schmitz/warnungs-release-mode

fix compiler warnings in RELEASE mode under Windows