Merged PR 5813: HwErrorBert: Initialize BertVars before use

##Description
* Initialize BertVars to NULL for Milos platform build requirements.

##How this was tested
* Boot tested on Milos platform; UEFI build passes.
This commit is contained in:
Antaeus Kleinert-Strand 2022-08-01 20:49:10 +00:00
Родитель 7d95561ae4
Коммит 102d89cfd1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -142,8 +142,8 @@ GenerateVariableList (
UINTN NameSize;
UINTN NewNameSize;
EFI_GUID Guid;
EFI_STATUS Status = EFI_SUCCESS;
CHAR16 *BertVars;
EFI_STATUS Status = EFI_SUCCESS;
CHAR16 *BertVars = NULL;
UINTN BertVarsSize;
UINTN Offset = 0;
CHAR16 *CurrentName;