discover/boot.c: In function ‘boot’:
discover/boot.c:153:13: error: ‘local_initrd’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
char *image, *initrd, *args;
int result;
char *image, *initrd, *args;
int result;
image = NULL;
initrd = NULL;
args = NULL;
image = NULL;
initrd = NULL;
args = NULL;
if (!local_image)
goto no_load;
if (!local_image)
goto no_load;
if (initrd) {
local_initrd = load_file(NULL, initrd, &clean_initrd);
if (!local_initrd)
if (initrd) {
local_initrd = load_file(NULL, initrd, &clean_initrd);
if (!local_initrd)