Fix Coverity warnings (nothing major)