Fix coverity warnings

Uninitialized fields; Missing break in switch