diff --git a/include/sys/cbprintf_cxx.h b/include/sys/cbprintf_cxx.h index 4e602a528e3..a268919c2ca 100644 --- a/include/sys/cbprintf_cxx.h +++ b/include/sys/cbprintf_cxx.h @@ -11,6 +11,7 @@ /* C++ version for detecting a pointer to a string. */ static inline int z_cbprintf_cxx_is_pchar(char *, bool const_as_fixed) { + ARG_UNUSED(const_as_fixed); return 1; }