Skip to content
Commit a0a07399 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Carles Cufí
Browse files

log: fix a harmless bug



Z_LOG2() has a typo, confusing & with &&. The result is the same but
using && is more logical in that case and it eliminates a flood of

warning: dubious: x & !y

static analyser warnings. Also compare to 0 explicitly to fix a
coding style violation.

Signed-off-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
parent caea9dc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment