Fix array overrun, reported by Coverity.

CID:		1229970
Remove uninitialized and unused variable, reported by Coverity.

CID:		1230015