Fix uninitialsed variables found by clang static analyser.
Merge pull request #2853 from vadler/71X-llvmFixes-uninitialisedVariables

llvm fixes -- 71X - llvm fixes - uninitialised variables