1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-31 17:07:21 +01:00
Files
u-boot-megous/include/log.h
Simon Glass fd42948fc9 log: Add log_nop() to avoid unused-variable warnings
If a log statement includes a variable and logging is disabled, this can
generate warnings about unused variables. Add a bit more complexity to the
macros to avoid this for the common case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:57:44 +08:00

13 KiB