summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiSalLib
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-19 08:29:55 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-19 08:29:55 +0000
commitd64ac715659ab70b6e1eaf681575bfedc6ee2e75 (patch)
tree7e42dc4b267052326c9bb700464bb17aba48ba18 /MdePkg/Library/UefiSalLib
parent1ac628eee06a798bbf767e568bdc591b7d8c6fe8 (diff)
downloadedk2-platforms-d64ac715659ab70b6e1eaf681575bfedc6ee2e75.tar.xz
Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7306 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiSalLib')
-rw-r--r--MdePkg/Library/UefiSalLib/UefiSalLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiSalLib/UefiSalLib.c b/MdePkg/Library/UefiSalLib/UefiSalLib.c
index b3a7b37597..9ed8606c4f 100644
--- a/MdePkg/Library/UefiSalLib/UefiSalLib.c
+++ b/MdePkg/Library/UefiSalLib/UefiSalLib.c
@@ -111,8 +111,8 @@ UefiSalLibConstructor (
&gEfiSalSystemTableGuid,
(VOID **) &SalSystemTable
);
-
ASSERT_EFI_ERROR (Status);
+ ASSERT (SalSystemTable != NULL);
//
// Check the first entry of SAL System Table,