sys: cbprintf: Fix unused arg warning

Missed unused arg, throws warning when compiling with
-Wunused-parameter.

Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
Yuval Peress 2021-12-09 20:42:56 -07:00 committed by Maureen Helm
commit 56beca3828

View file

@ -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;
}