From e3df6949e7e2a4578660d4079988487a147c91b7 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 30 Jul 2013 06:41:43 +0000 Subject: Fix GCC build failure. Signed-off-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14519 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c index 87f2383fad..73831d267e 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c @@ -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); -- cgit v1.2.3