(minor) solve cppcheck 'uninitialised members' warnings by ensuring variables are initialised at declaration.