Follow suggestion of gcc: add parenthesis around assignment used as bool