Re: [U-Boot] [PATCH] efi_loader: Fix warning in efi_load_image()

2018-09-30 Thread Heinrich Schuchardt
On 09/30/2018 04:38 PM, Tom Rini wrote: > As observed with clang: > lib/efi_loader/efi_boottime.c:1624:7: warning: variable 'info' > is used uninitialized whenever 'if' condition is true > [-Wsometimes-uninitialized] > if (ret != EFI_SUCCESS) > ^~~

[U-Boot] [PATCH] efi_loader: Fix warning in efi_load_image()

2018-09-30 Thread Tom Rini
As observed with clang: lib/efi_loader/efi_boottime.c:1624:7: warning: variable 'info' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ret != EFI_SUCCESS) ^~ lib/efi_loader/efi_boottime.c:1653:7: note: