[cmake] Avoid warnings in feature tests. NFC.
Apply the __attribute__((unused)) before the function to unambiguously apply to
the function declaration.
Add more casts-to-void to mark return values unused as intended.
Contributed-by:
Andy Gibbs <andyg1001@hotmail.co.uk>
llvm-svn: 284718
Loading
Please register or sign in to comment