mirror of https://github.com/acidanthera/audk.git
EdkCompatibilityPkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use ASSERT_EFI_ERROR (BooleanExpression) instead of ASSERT (BooleanExpression) Fix them. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
05b39efb66
commit
0206697943
|
@ -494,7 +494,7 @@ HiiGetSecondaryLanguages (
|
|||
UnicodeStrToAsciiStr (PrimaryLanguage, PrimaryLang639);
|
||||
|
||||
PrimaryLang4646 = ConvertLanguagesIso639ToRfc4646 (PrimaryLang639);
|
||||
ASSERT_EFI_ERROR (PrimaryLang4646 != NULL);
|
||||
ASSERT (PrimaryLang4646 != NULL);
|
||||
|
||||
SecLangCodes4646 = HiiGetSupportedSecondaryLanguages (UefiHiiHandle, PrimaryLang4646);
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ ExportPackageLists (
|
|||
&Size,
|
||||
PackageListHdr
|
||||
);
|
||||
ASSERT_EFI_ERROR (Status != EFI_BUFFER_TOO_SMALL);
|
||||
ASSERT (Status != EFI_BUFFER_TOO_SMALL);
|
||||
|
||||
if (Status == EFI_BUFFER_TOO_SMALL) {
|
||||
PackageListHdr = AllocateZeroPool (Size);
|
||||
|
|
Loading…
Reference in New Issue