diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-03-07 13:29:44 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-03-07 13:34:21 +0800 |
commit | eeab16c88d05357b25a6af44d749d8d8e625697a (patch) | |
tree | 5de326eb10488f4f29f02980686a8496859eb2d4 /MdeModulePkg/Library/UefiBootManagerLib | |
parent | 5f87f979c6f5b05f97eab02f7e3c01fabeb839c6 (diff) | |
download | edk2-platforms-eeab16c88d05357b25a6af44d749d8d8e625697a.tar.xz |
MdeModulePkg/Bds: Fix VS2010/VS2012 build failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib')
-rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index 18f835a9a9..4225e80f42 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -1667,6 +1667,8 @@ BmGetFileBufferFromLoadFileFileSystem ( Handles = NULL;
HandleCount = 0;
}
+
+ Handle = NULL;
for (Index = 0; Index < HandleCount; Index++) {
Node = DevicePathFromHandle (Handles[Index]);
Status = gBS->LocateDevicePath (&gEfiLoadFileProtocolGuid, &Node, &Handle);
|