[Bug 37482] Suspicious condition (assignment + comparison); Clarify expression with parentheses. (Cppcheck)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 31 03:34:17 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=37482

--- Comment #1 from Michael Stefaniuc <mstefani at redhat.com> ---
I would say clang is misguided here. Not sure why it complains here as
    y = comparison ? foo : bar
is the standard way of doing this and adding paranthesis would be bad style.

Can you please report it to them as false positive?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list