diff options
author | James Morrissey <james.morrissey@arm.com> | 2014-02-10 14:24:36 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-02-17 18:51:43 +0000 |
commit | 40a6f64795847f2b96ec24e9b11cb7002f0b48bf (patch) | |
tree | 114e57eca37970dddbb35e33538f7a75da515ca5 /common/bl_common.c | |
parent | df64a55b3a675a61b88bb4d0a357ba7085000cdc (diff) |
Fix asserts appearing in release builds
Also fix warnings generated in release builds when assert code
is absent.
Change-Id: I45b9173d3888f9e93e98eb5b4fdc06727ba5cbf4
Diffstat (limited to 'common/bl_common.c')
-rw-r--r-- | common/bl_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/bl_common.c b/common/bl_common.c index 0a0c5cd..d401f8c 100644 --- a/common/bl_common.c +++ b/common/bl_common.c @@ -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 */ |