fix few warnings reported by clang
3 files changed