DescriptionFix mismatched parentheses that were revealed through /analyze warnings.
The incorrectly placed parentheses means that failure of the first
function didn't stop the others from executing, and overall failure was
evaluated incorrectly -- always succeeding I think.
Warnings were:
d:\src\chromium2\src\media\audio\win\core_audio_util_win.cc(361) :
C6215: Cast between semantically different integer types: Boolean type to HRESULT.
C6230: Implicit cast between semantically different integer types: using HRESULT in a Boolean context.
BUG=427616
Committed: https://crrev.com/ef7aaab8ef5dbd2c0538eee5339ae2908717b779
Cr-Commit-Position: refs/heads/master@{#302340}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|