
5 Oct
2019
5 Oct
'19
4:42 p.m.
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass sjg@chromium.org wrote:
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
include/log.h | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com