coverity minors

Addresses coverity CIDs 719106 and 1223318.
You could put these into the member initialization list of the constructor.