mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 09:16:10 +00:00
when building with clang we get the following warning: log_core.c:358:40: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand] This is because we are mix a constant IS_ENABLED(CONFIG_LOG_IMMEDIATE) with non-constants. Split out the check into its own statement to workaround the warning. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.template.log_config | ||
log_backend_native_posix.c | ||
log_backend_net.c | ||
log_backend_rtt.c | ||
log_backend_swo.c | ||
log_backend_uart.c | ||
log_backend_xtensa_sim.c | ||
log_cmds.c | ||
log_core.c | ||
log_list.c | ||
log_list.h | ||
log_msg.c | ||
log_output.c | ||
sys_log_net.c | ||
sys_log.c |