mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
MdeModulePkg/SetupBrowserDxe: Fix incorrect local variable used
https://bugzilla.tianocore.org/show_bug.cgi?id=280 Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
d138a2e987
commit
919278054f
@ -3535,6 +3535,7 @@ SubmitForSystem (
|
|||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
LIST_ENTRY *Link;
|
LIST_ENTRY *Link;
|
||||||
|
LIST_ENTRY *FormLink;
|
||||||
LIST_ENTRY *StorageLink;
|
LIST_ENTRY *StorageLink;
|
||||||
FORMSET_STORAGE *FormSetStorage;
|
FORMSET_STORAGE *FormSetStorage;
|
||||||
FORM_BROWSER_FORM *Form;
|
FORM_BROWSER_FORM *Form;
|
||||||
@ -3625,10 +3626,10 @@ SubmitForSystem (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Link = GetFirstNode (&LocalFormSet->FormListHead);
|
FormLink = GetFirstNode (&LocalFormSet->FormListHead);
|
||||||
while (!IsNull (&LocalFormSet->FormListHead, Link)) {
|
while (!IsNull (&LocalFormSet->FormListHead, FormLink)) {
|
||||||
Form = FORM_BROWSER_FORM_FROM_LINK (Link);
|
Form = FORM_BROWSER_FORM_FROM_LINK (FormLink);
|
||||||
Link = GetNextNode (&LocalFormSet->FormListHead, Link);
|
FormLink = GetNextNode (&LocalFormSet->FormListHead, FormLink);
|
||||||
//
|
//
|
||||||
// Call callback with Changed type to inform the driver.
|
// Call callback with Changed type to inform the driver.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user