Fixes to issues identified by Coverity.

Because the iterator uses it as a POD and initializes it anyway.