summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2015-08-20 08:46:15 +0000
committerdandanbi <dandanbi@Edk2>2015-08-20 08:46:15 +0000
commit3877edd811a2ea0b17acc6449fe9d0dbae3be63d (patch)
tree2618b0144e5ff09d5edf9e2b60031697828dd786 /MdeModulePkg
parentf4d7904b15033348494b22a15ee78a5c95cb6815 (diff)
downloadedk2-platforms-3877edd811a2ea0b17acc6449fe9d0dbae3be63d.tar.xz
MdeModulePkg:Fix build fail in VS2008
Fix the potentially uninitialized local variable Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18254 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
index ae32278f1b..c9df7baeb6 100644
--- a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
+++ b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
@@ -495,8 +495,10 @@ UpdateConsolePage (
UpdatePageStart (CallbackData);
ConsoleCheck = NULL;
+ OldConsoleCheck = NULL;
QuestionIdBase = 0;
VariableOffsetBase = 0;
+ ConsoleCheckSize = 0;
switch (UpdatePageId) {
case FORM_CON_IN_ID: