From c97b567227a2f8783341585650266258f814a64c Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 27 Aug 2009 01:50:35 +0000 Subject: [PATCH] refine the code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c index 17b02a5c29..a303dcac07 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.
+Copyright (c) 2006 - 2009, Intel Corporation.
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.