When targeting a recent enough macOS/iOS version that has clock_gettime it won't be a weak symbol, in which case clang warns for this check as it's always true: warning: address of function 'clock_gettime' will always evaluate to 'true' This warning is silenced by using the address-of operator to make the intent explicit.pull/371/head
parent
6080c5e24f
commit
d67c6c7f6f
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue