silence clang warning: using the result of an assignment as a condition without parentheses [-Wparentheses]