zephyr/lib
ferar alashkar 11e2c58928 lib: os: hex: clarify controlling expression
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>
2023-08-23 16:06:05 +01:00
..
acpi acpi: rename shadow variables 2023-08-10 08:14:12 +00:00
cpp lib: cpp: name the choice group for selecting C++ standard 2023-07-27 22:33:14 -04:00
crc lib: crc: move from lib/os to lib/crc 2023-08-18 08:52:16 +03:00
hash lib: hash: use new c++ Kconfig symbols 2023-07-26 14:53:51 +02:00
libc libc/common: Add memalign 2023-08-10 11:35:17 -04:00
open-amp open-amp: Fix compilation with cache enabled 2023-04-18 12:12:56 +02:00
os lib: os: hex: clarify controlling expression 2023-08-23 16:06:05 +01:00
posix posix: signal: type corrections for sigval, sigevent, notify attr 2023-08-23 10:06:00 +02:00
runtime llvm: Add support for selecting runtime library 2023-08-03 19:35:11 +02:00
smf lib: smf: fix include 2022-05-25 11:14:18 +09:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig lib: crc: move from lib/os to lib/crc 2023-08-18 08:52:16 +03:00