logging: fix compiler warning when using -Wextra flag with gcc
Fixes the warning -Wunused-parameter that is added with -Wextra in the GCC compiler. Chose to void the unused parameter inside the function. Testcompiled with -Wall -Wextra -Werror and builds cleanly. Signed-off-by: Dennis Wildmark <dennis.wildmark@assaabloy.com>
This commit is contained in:
parent
07384cf9e9
commit
03dec5b814
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ static inline u32_t log_dynamic_source_id(struct log_source_dynamic_data *data)
|
|||
static inline __printf_like(1, 2)
|
||||
void log_printf_arg_checker(const char *fmt, ...)
|
||||
{
|
||||
|
||||
ARG_UNUSED(fmt);
|
||||
}
|
||||
|
||||
/** @brief Standard log with no arguments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue