DescriptionMake WARN_UNUSED_RESULT a no-op on gcc
Because on gcc, cast to void doesn't silence the warning. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
Also add an RTC_ prefix to the macro instead of only defining it if it
wasn't already defined, to ensure that we always get our own version.
BUG=none
Review-Url: https://codereview.webrtc.org/2797983003
Cr-Commit-Position: refs/heads/master@{#17563}
Committed: https://chromium.googlesource.com/external/webrtc/+/388fe425c783b1994608789842503ec756327913
Patch Set 1 #Patch Set 2 : RTC_ prefix #
Messages
Total messages: 23 (13 generated)
|