Fix uninitialized member variables found by cppcheck.