West coverity

Just a some coverity fixes. They are all removing unused members.