Silence GCC warning by initializing the local variable.

GCC 6.3 is unable to trace all code paths that lead to
this variable being left uninitialized and correlate that
to function return values.
This commit is contained in:
Alexander Kabaev 2017-04-07 22:58:34 +00:00
parent e64aaeac2a
commit ec5c547311

View File

@ -529,6 +529,7 @@ probe_handle_status(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath)
EFI_STATUS status;
BOOLEAN preferred;
preferred = FALSE;
status = probe_handle(h, imgpath, &preferred);
DPRINTF("probe: ");