Skip to content
Commit 3d0266b6 authored by Michael Kruse's avatar Michael Kruse
Browse files

[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: default avatarAndy Gibbs <andyg1001@hotmail.co.uk>
llvm-svn: 284718
parent 618d3aed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment