Initialize local variable Description as NULL first. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <[email protected]> --- MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index d5818ca..ecd0ae3 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -2213,6 +2213,7 @@ BmRegisterBootManagerMenu ( UINTN DataSize; DevicePath = NULL; + Description = NULL; // // Try to find BootMenuApp from LoadFile protocol // -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

