logging: Unused arg in log_msg_get_tid
Resolve unused arg compiler error Signed-off-by: Al Semjonovs <asemjonovs@google.com>
This commit is contained in:
parent
a50343cf62
commit
b1b4932373
1 changed files with 1 additions and 0 deletions
|
@ -669,6 +669,7 @@ static inline void *log_msg_get_tid(struct log_msg *msg)
|
||||||
#if CONFIG_LOG_THREAD_ID_PREFIX
|
#if CONFIG_LOG_THREAD_ID_PREFIX
|
||||||
return msg->hdr.tid;
|
return msg->hdr.tid;
|
||||||
#else
|
#else
|
||||||
|
ARG_UNUSED(msg);
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue