mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
Fix asserts appearing in release builds
Also fix warnings generated in release builds when assert code is absent. Change-Id: I45b9173d3888f9e93e98eb5b4fdc06727ba5cbf4
This commit is contained in:
parent
df64a55b3a
commit
40a6f64795
6 changed files with 17 additions and 9 deletions
|
@ -272,8 +272,9 @@ unsigned long load_image(meminfo *mem_layout,
|
|||
unsigned int load_type,
|
||||
unsigned long fixed_addr)
|
||||
{
|
||||
unsigned long temp_image_base, image_base;
|
||||
long offset;
|
||||
unsigned long temp_image_base = 0;
|
||||
unsigned long image_base = 0;
|
||||
long offset = 0;
|
||||
int image_flen;
|
||||
|
||||
/* Find the size of the image */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue