clear some dead assignments reported by CLANG