Revision: 14519
http://sourceforge.net/p/edk2/code/14519
Author: niruiyu
Date: 2013-07-30 06:41:43 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
Fix GCC build failure.
Signed-off-by: Ruiyu Ni <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Application/Shell/ShellProtocol.c
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c
trunk/edk2/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
Modified: trunk/edk2/ShellPkg/Application/Shell/ShellProtocol.c
===================================================================
--- trunk/edk2/ShellPkg/Application/Shell/ShellProtocol.c 2013-07-29
21:09:55 UTC (rev 14518)
+++ trunk/edk2/ShellPkg/Application/Shell/ShellProtocol.c 2013-07-30
06:41:43 UTC (rev 14519)
@@ -118,6 +118,7 @@
EFI_STATUS Status;
CHAR16 *Temp;
+ Status = EFI_SUCCESS;
DEBUG_CODE_BEGIN();
if (Mapping != NULL) {
Modified: trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c
2013-07-29 21:09:55 UTC (rev 14518)
+++ trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c
2013-07-30 06:41:43 UTC (rev 14519)
@@ -525,6 +525,7 @@
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);
Modified: trunk/edk2/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
2013-07-29 21:09:55 UTC (rev 14518)
+++ trunk/edk2/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
2013-07-30 06:41:43 UTC (rev 14519)
@@ -523,6 +523,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits