Clang warnings fixed

'Equality comparison with extraneous parentheses' semantics warnings in
Clang fixed