You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have #define HAVE_DNS_SD 0, Clang 9 (and probably other versions)
will correctly detect that "if (HAVE_DNS_SD && ret)" is dead code,
but will fail to detect that "if (ret && HAVE_DNS_SD)" is dead code.
If the dead code calls symbols not provided at link time, then linking
will then fail.
Fix this by swapping the two expressions in the "if" block.
Stupid, right?
Signed-off-by: Paul Cercueil <[email protected]>
Reported-by: Adrian Suciu <[email protected]>
0 commit comments