mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ba0b7175d3
tools/power/rapl.cpp:844:5 [-Wunreachable-code] code will never be executed clang reports a -Wunreachable-code warning for sigemptyset() because Darwin's sigemptyset() is a macro that always returns 0. Thus `if (sigemptyset(&sa.sa_mask) < 0)` is always false and `Abort("sigemptyset() failed")` is never called. Linux's sigemptyset() can return 0 or -1. The extra parens around (0) suppress the clang warning. |
||
---|---|---|
.. | ||
mach_commands.py | ||
moz.build | ||
rapl.cpp |