Static analyzer warning fixes.

Hi Guys,

I am submitting 3 trivial code changes to address warnings raised by xcode's static analyzer.  Please let me know if you have any questions.

Cheers,

JC