Cleanup the code.

Reported by:	Coverity
CID:		1232003