Merge "clang/win: Make libvpx build with -Wunused-function."
This commit is contained in:
commit
20d902a376
@ -69,7 +69,7 @@ extern "C" {
|
|||||||
|
|
||||||
/*!\brief Decorator indicating a function is potentially unused */
|
/*!\brief Decorator indicating a function is potentially unused */
|
||||||
#ifdef UNUSED
|
#ifdef UNUSED
|
||||||
#elif __GNUC__
|
#elif defined(__GNUC__) || defined(__clang__)
|
||||||
#define UNUSED __attribute__ ((unused))
|
#define UNUSED __attribute__ ((unused))
|
||||||
#else
|
#else
|
||||||
#define UNUSED
|
#define UNUSED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user