diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index df29274207..24fd35ed85 100644 --- a/common/spl/spl_atf.c +++ b/common/spl/spl_atf.c @@ -112,7 +112,7 @@ static void bl31_entry(uintptr_t bl31_entry, uintptr_t bl32_entry, static int spl_fit_images_find(void *blob, int os) { - int parent, node, ndepth; + int parent, node, ndepth = 0; const void *data; if (!blob)