diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-04-07 10:13:39 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-04-07 11:23:07 +0800 |
commit | 542417972de568fc8c83880042ea7553d901fdb9 (patch) | |
tree | 6cb1ae2bab1b0fd7713c6a28fa1996f826577eb1 /MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | |
parent | eccc28bfcb91b5d72adf173d7404652c7aa63c26 (diff) | |
download | edk2-platforms-542417972de568fc8c83880042ea7553d901fdb9.tar.xz |
MdeModulePkg/Bds: Fix build failures of VS tool chain
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c')
-rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index 2eb8971ba0..beb2eafe29 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -699,6 +699,7 @@ BmExpandUriDevicePath ( Handles = NULL;
}
+ FileBuffer = NULL;
for (Index = 0; Index < HandleCount; Index++) {
FileBuffer = BmGetFileBufferFromLoadFile (Handles[Index], FilePath, FullPath, FileSize);
if (FileBuffer != NULL) {
|