Fix warning about uninitialized variable

Reported-By: clang++ -Werror
Fix more warnings from clang

Reported-By: clang++ -Werror