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>
This commit is contained in:
@ -1667,6 +1667,8 @@ BmGetFileBufferFromLoadFileFileSystem (
|
|||||||
Handles = NULL;
|
Handles = NULL;
|
||||||
HandleCount = 0;
|
HandleCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Handle = NULL;
|
||||||
for (Index = 0; Index < HandleCount; Index++) {
|
for (Index = 0; Index < HandleCount; Index++) {
|
||||||
Node = DevicePathFromHandle (Handles[Index]);
|
Node = DevicePathFromHandle (Handles[Index]);
|
||||||
Status = gBS->LocateDevicePath (&gEfiLoadFileProtocolGuid, &Node, &Handle);
|
Status = gBS->LocateDevicePath (&gEfiLoadFileProtocolGuid, &Node, &Handle);
|
||||||
|
Reference in New Issue
Block a user