From 75a3814159d12dfa1b0f44670871e856bc57cb37 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 23 Jan 2009 09:09:43 +0000 Subject: Add ASSERT in case SalSystemTable is NULL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiPalLib/UefiPalLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/UefiPalLib/UefiPalLib.c b/MdePkg/Library/UefiPalLib/UefiPalLib.c index 290488f73c..3d3b326573 100644 --- a/MdePkg/Library/UefiPalLib/UefiPalLib.c +++ b/MdePkg/Library/UefiPalLib/UefiPalLib.c @@ -102,8 +102,8 @@ UefiPalLibConstructor ( &gEfiSalSystemTableGuid, (VOID **) &SalSystemTable ); - ASSERT_EFI_ERROR (Status); + ASSERT (SalSystemTable != NULL); // // Check the first entry of SAL System Table, -- cgit v1.2.3