11e2c58928
add explicit boolean type to 'if' statement controlling expression, thus improving code readability and maintainability, complying with required [misra-c2012-14.4] rule which states; The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially boolean type. Found as a coding guideline violation (Rule 14.4) by static code scanning tool. Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx). Signed-off-by: ferar alashkar <ferar.alashkar@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.cbprintf | ||
Kconfig.heap | ||
assert.c | ||
base64.c | ||
bitarray.c | ||
cbprintf.c | ||
cbprintf_complete.c | ||
cbprintf_nano.c | ||
cbprintf_packaged.c | ||
dec.c | ||
fdtable.c | ||
heap-validate.c | ||
heap.c | ||
heap.h | ||
heap_listener.c | ||
hex.c | ||
json.c | ||
mem_blocks.c | ||
mpsc_pbuf.c | ||
multi_heap.c | ||
mutex.c | ||
notify.c | ||
onoff.c | ||
p4wq.c | ||
poweroff.c | ||
printk.c | ||
rb.c | ||
reboot.c | ||
ring_buffer.c | ||
sem.c | ||
shared_multi_heap.c | ||
spsc_pbuf.c | ||
thread_entry.c | ||
timeutil.c | ||
user_work.c | ||
utf8.c | ||
winstream.c |