mirror of https://github.com/acidanthera/audk.git
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:
parent
1ac628eee0
commit
d64ac71565
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue