]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg:Fix build fail in VS2008
authorDandan Bi <dandan.bi@intel.com>
Thu, 20 Aug 2015 08:46:15 +0000 (08:46 +0000)
committerdandanbi <dandanbi@Edk2>
Thu, 20 Aug 2015 08:46:15 +0000 (08:46 +0000)
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

MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c

index ae32278f1b6f3509269e8fedb283a79ef5d84541..c9df7baeb642041574edb60cfe6f257830baa934 100644 (file)
@@ -495,8 +495,10 @@ UpdateConsolePage (
   UpdatePageStart (CallbackData);\r
 \r
   ConsoleCheck       = NULL;\r
+  OldConsoleCheck    = NULL;\r
   QuestionIdBase     = 0;\r
   VariableOffsetBase = 0;\r
+  ConsoleCheckSize   = 0;\r
 \r
   switch (UpdatePageId) {\r
   case FORM_CON_IN_ID:\r