summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
index 7c6a032f8b..1c3a7f6ba4 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -852,8 +852,6 @@ CreateDialog (
ASSERT (TempString);
ASSERT (BufferedString);
- VA_START (Marker, KeyValue);
-
//
// Zero the outgoing buffer
//
@@ -875,6 +873,8 @@ CreateDialog (
LargestString = 0;
+ VA_START (Marker, KeyValue);
+
//
// Determine the largest string in the dialog box
// Notice we are starting with 1 since String is the first string