mirror of https://github.com/acidanthera/audk.git
Fix GCC build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14519 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5d71a30480
commit
e3df6949e7
|
@ -118,6 +118,7 @@ InternalShellProtocolDebugPrintMessage (
|
|||
EFI_STATUS Status;
|
||||
CHAR16 *Temp;
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
DEBUG_CODE_BEGIN();
|
||||
|
||||
if (Mapping != NULL) {
|
||||
|
|
|
@ -525,6 +525,7 @@ BcfgAddDebug1(
|
|||
|
||||
CopyMem (TempByteBuffer, Desc, DescSize);
|
||||
TempByteBuffer += DescSize;
|
||||
ASSERT (FilePath != NULL);
|
||||
CopyMem (TempByteBuffer, FilePath, FilePathSize);
|
||||
|
||||
UnicodeSPrint (OptionStr, sizeof(OptionStr), L"%s%04x", Target == BcfgTargetBootOrder?L"Boot":L"Driver", TargetLocation);
|
||||
|
|
|
@ -523,6 +523,7 @@ BcfgAddInstall1(
|
|||
|
||||
CopyMem (TempByteBuffer, Desc, DescSize);
|
||||
TempByteBuffer += DescSize;
|
||||
ASSERT (FilePath != NULL);
|
||||
CopyMem (TempByteBuffer, FilePath, FilePathSize);
|
||||
|
||||
UnicodeSPrint (OptionStr, sizeof(OptionStr), L"%s%04x", Target == BcfgTargetBootOrder?L"Boot":L"Driver", TargetLocation);
|
||||
|
|
Loading…
Reference in New Issue