From 59022524db4933c74874a0d4791dcaac3d8987a7 Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Mon, 23 Mar 2009 06:54:38 +0000 Subject: [PATCH] Status should be initialzied to be EFI_SUCCESS. --- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c index be8820d9a..d8b7c403f 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c @@ -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 // -- 2.11.4.GIT