fix some uninitialized variable warnings

these warnings obviously only appeared for optimized builds as
assertations vanish in this case...