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
This commit is contained in:
qhuang8 2009-01-19 08:29:55 +00:00
parent 1ac628eee0
commit d64ac71565
1 changed files with 1 additions and 1 deletions

View File

@ -111,8 +111,8 @@ UefiSalLibConstructor (
&gEfiSalSystemTableGuid, &gEfiSalSystemTableGuid,
(VOID **) &SalSystemTable (VOID **) &SalSystemTable
); );
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
ASSERT (SalSystemTable != NULL);
// //
// Check the first entry of SAL System Table, // Check the first entry of SAL System Table,