Set braces for using the value of a block.
Avoid assignment in a conditional.