Minor issues reported by clang compiler

Hi,

I just fixed a 3 minor issues in the arch. The clang compiler is reporting as error.