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:
parent
e64aaeac2a
commit
ec5c547311
@ -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: ");
|
||||
|
Loading…
Reference in New Issue
Block a user