diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-19 08:29:55 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-19 08:29:55 +0000 |
commit | d64ac715659ab70b6e1eaf681575bfedc6ee2e75 (patch) | |
tree | 7e42dc4b267052326c9bb700464bb17aba48ba18 | |
parent | 1ac628eee06a798bbf767e568bdc591b7d8c6fe8 (diff) | |
download | edk2-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
-rw-r--r-- | MdePkg/Library/UefiSalLib/UefiSalLib.c | 2 |
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,
|