NULLify a list of modules
This commit is contained in:
parent
09ca6dace9
commit
e1670e5d58
@ -174,8 +174,9 @@ BlInvokeBootProtocol(IN PLIST_ENTRY OptionsList)
|
|||||||
PWCHAR ModulesList;
|
PWCHAR ModulesList;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
/* Initialize boot parameters */
|
/* Initialize boot parameters and a list of modules */
|
||||||
RtlZeroMemory(&BootParameters, sizeof(XTBL_BOOT_PARAMETERS));
|
RtlZeroMemory(&BootParameters, sizeof(XTBL_BOOT_PARAMETERS));
|
||||||
|
ModulesList = NULL;
|
||||||
|
|
||||||
/* Iterate through all options provided by boot menu entry and propagate boot parameters */
|
/* Iterate through all options provided by boot menu entry and propagate boot parameters */
|
||||||
OptionsListEntry = OptionsList->Flink;
|
OptionsListEntry = OptionsList->Flink;
|
||||||
|
Loading…
Reference in New Issue
Block a user