Ged schrieb: > IMO parenthesis should always be used, it helps to clarify what the > developer who wrote the code really wanted. > In this case the exact opposite is the case. The braces would make you and the compiler think that the programmer really wanted to make an assignment inside the if .