Status should be initialzied to be EFI_SUCCESS.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7925 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-03-23 06:54:38 +00:00
parent a0afd24c9c
commit 3fb46d0b04
1 changed files with 2 additions and 1 deletions

View File

@ -550,7 +550,7 @@ ConSpliterGraphicsOutputBlt (
)
{
EFI_STATUS Status;
EFI_STATUS ReturnStatus = EFI_DEVICE_ERROR;
EFI_STATUS ReturnStatus;
TEXT_OUT_SPLITTER_PRIVATE_DATA *Private;
UINTN Index;
EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput;
@ -558,6 +558,7 @@ ConSpliterGraphicsOutputBlt (
Private = GRAPHICS_OUTPUT_SPLITTER_PRIVATE_DATA_FROM_THIS (This);
ReturnStatus = EFI_SUCCESS;
//
// return the worst status met
//