Coverity fixes.