mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
![]() When the SPD_spmd configuration is disabled, the compiler complaints: plat/arm/board/tc/tc_bl2_dpe.c:234:22: error: unused variable 'array_size' [-Werror=unused-variable] 234 | const size_t array_size = ARRAY_SIZE(tc_dpe_metadata); | ^~~~~~~~~~ plat/arm/board/tc/tc_bl2_dpe.c:233:16: error: unused variable 'i' [-Werror=unused-variable] 233 | size_t i; | ^ cc1: all warnings being treated as errors Move variable declarations into the code chunk protected by the SPD_spmd configuration. Change-Id: I1a3889938e2d4ec5efec516e9ef54034f9d711b2 Signed-off-by: Leo Yan <leo.yan@arm.com> |
||
---|---|---|
.. | ||
a5ds | ||
arm_fpga | ||
automotive_rd/platform/rd1ae | ||
common | ||
corstone700 | ||
corstone1000 | ||
fvp | ||
fvp_r | ||
fvp_ve | ||
juno | ||
morello | ||
n1sdp | ||
neoverse_rd | ||
tc |