mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 05:43:53 +00:00
![]() In tools directory, contrary to other parts of TF-A code, LOG_LEVEL_NOTICE is 20, and LOG_LEVEL_ERROR is 10. If LOG_LEVEL is set to 10, which is the case if BUILD_INFO=0, then we can have this compilation warning: src/main.c:29:19: warning: ‘build_msg’ defined but not used [-Wunused-const-variable=] 29 | static const char build_msg[] = "Built : " __TIME__ ", " __DATE__; | ^~~~~~~~~ Avoid that by putting it under '#if LOG_LEVEL >= LOG_LEVEL_NOTICE'. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ic724610d6df811fc889775dbd361087e0958d31e |
||
---|---|---|
.. | ||
amlogic | ||
cert_create | ||
conventional-changelog-tf-a | ||
cot_dt2c | ||
encrypt_fw | ||
fiptool | ||
marvell/doimage | ||
memory | ||
nxp | ||
renesas | ||
sptool | ||
stm32image | ||
tlc |