dv: fix valgrind use of uninitialised value warnings.