Skip to content
Commit b0564dfd authored by Gerson Fernando Budke's avatar Gerson Fernando Budke Committed by Carles Cufí
Browse files

zephyr/ztest_assert.h: Fix implicit to bool conversion



The current zassert macro uses implicit conversion to boolean which
has implication on analysis tools like clang-tidy-14. This add an
aditional step to create a boolean value for the evaluation instead
use the string direct which allows run analysis tool without this
warning/error.

Signed-off-by: default avatarGerson Fernando Budke <nandojve@gmail.com>
parent 09cad20b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment