mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Add in an ASSERT to check the return of HiiLibGetSupportedLanguages. This function should never return NULL. If it does, it is a build.exe bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6874 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2297186d22
commit
6cd8bf649c
@ -199,6 +199,7 @@ HiiLibNewString (
|
||||
Status = EFI_SUCCESS;
|
||||
|
||||
Languages = HiiLibGetSupportedLanguages (PackageList);
|
||||
ASSERT (Languages != NULL);
|
||||
|
||||
LangStrings = Languages;
|
||||
while (*LangStrings != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user