diff --git a/src/intel/common/intel_log.h b/src/intel/common/intel_log.h index 0f28109a0a4..1bfd1e20ac4 100644 --- a/src/intel/common/intel_log.h +++ b/src/intel/common/intel_log.h @@ -72,7 +72,7 @@ intel_log_v(enum intel_log_level, const char *tag, const char *format, #ifndef DEBUG /* Suppres -Wunused */ static inline void PRINTFLIKE(1, 2) -__intel_log_use_args(const char *format, ...) { } +__intel_log_use_args(UNUSED const char *format, ...) { } #endif #ifdef __cplusplus