fix compiler warnings in RELEASE mode under Windows

reg. possible uninitialized use of some variables and some unused
parameters