diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-23 09:09:43 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-23 09:09:43 +0000 |
commit | 75a3814159d12dfa1b0f44670871e856bc57cb37 (patch) | |
tree | b26d3d4dcb47364de03e91b0acc0527816afeb23 /MdePkg | |
parent | 02313d1e793e51a5712cca692886f9eff3606faf (diff) | |
download | edk2-platforms-75a3814159d12dfa1b0f44670871e856bc57cb37.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/UefiPalLib/UefiPalLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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,
|