]> git.proxmox.com Git - mirror_edk2.git/commitdiff
refine the code.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 27 Aug 2009 01:50:35 +0000 (01:50 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 27 Aug 2009 01:50:35 +0000 (01:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c

index 17b02a5c2933bf2d7c4841876ed0cd0863ec58c0..a303dcac072534b865f382bb01f502ff85815da5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -182,7 +182,7 @@ TerminalConOutOutputString (
   UINTN                       Length;\r
   UTF8_CHAR                   Utf8Char;\r
   CHAR8                       GraphicChar;\r
-  CHAR8                       AsciiChar = 0;\r
+  CHAR8                       AsciiChar;\r
   EFI_STATUS                  Status;\r
   UINT8                       ValidBytes;\r
   //\r
@@ -193,6 +193,7 @@ TerminalConOutOutputString (
 \r
   ValidBytes  = 0;\r
   Warning     = FALSE;\r
+  AsciiChar   = 0;\r
 \r
   //\r
   //  get Terminal device data structure pointer.\r