refine the code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-08-27 01:50:35 +00:00
parent b7f76514ec
commit c97b567227
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Implementation for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol. 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -182,7 +182,7 @@ TerminalConOutOutputString (
UINTN Length; UINTN Length;
UTF8_CHAR Utf8Char; UTF8_CHAR Utf8Char;
CHAR8 GraphicChar; CHAR8 GraphicChar;
CHAR8 AsciiChar = 0; CHAR8 AsciiChar;
EFI_STATUS Status; EFI_STATUS Status;
UINT8 ValidBytes; UINT8 ValidBytes;
// //
@ -193,6 +193,7 @@ TerminalConOutOutputString (
ValidBytes = 0; ValidBytes = 0;
Warning = FALSE; Warning = FALSE;
AsciiChar = 0;
// //
// get Terminal device data structure pointer. // get Terminal device data structure pointer.