summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-27 01:50:35 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-27 01:50:35 +0000
commitc97b567227a2f8783341585650266258f814a64c (patch)
tree208fa59ecda8d6b32932de36bb9d334c3f44df61
parentb7f76514ec387392b54659edb7b3e1ada60a751b (diff)
downloadedk2-c97b567227a2f8783341585650266258f814a64c.zip
edk2-c97b567227a2f8783341585650266258f814a64c.tar.gz
edk2-c97b567227a2f8783341585650266258f814a64c.tar.bz2
refine the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c
index 17b02a5..a303dca 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c
@@ -1,7 +1,7 @@
/** @file
Implementation for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol.
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>
+Copyright (c) 2006 - 2009, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -182,7 +182,7 @@ TerminalConOutOutputString (
UINTN Length;
UTF8_CHAR Utf8Char;
CHAR8 GraphicChar;
- CHAR8 AsciiChar = 0;
+ CHAR8 AsciiChar;
EFI_STATUS Status;
UINT8 ValidBytes;
//
@@ -193,6 +193,7 @@ TerminalConOutOutputString (
ValidBytes = 0;
Warning = FALSE;
+ AsciiChar = 0;
//
// get Terminal device data structure pointer.