summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/EdkGraphicsLib/Graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Library/EdkGraphicsLib/Graphics.c')
-rw-r--r--EdkModulePkg/Library/EdkGraphicsLib/Graphics.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/EdkModulePkg/Library/EdkGraphicsLib/Graphics.c b/EdkModulePkg/Library/EdkGraphicsLib/Graphics.c
index 69b1a2b18e..00e556ea21 100644
--- a/EdkModulePkg/Library/EdkGraphicsLib/Graphics.c
+++ b/EdkModulePkg/Library/EdkGraphicsLib/Graphics.c
@@ -22,15 +22,6 @@ Abstract:
--*/
-EFI_STATUS
-ConvertBmpToGopBlt (
- IN VOID *BmpImage,
- IN UINTN BmpImageSize,
- IN OUT VOID **GopBlt,
- IN OUT UINTN *GopBltSize,
- OUT UINTN *PixelHeight,
- OUT UINTN *PixelWidth
- );
EFI_STATUS
GetGraphicsBitMapFromFV (
@@ -115,6 +106,7 @@ Returns:
return EFI_NOT_FOUND;
}
+STATIC
EFI_STATUS
ConvertBmpToGopBlt (
IN VOID *BmpImage,
@@ -450,6 +442,7 @@ Returns:
}
Blt = NULL;
+ BltSize = 0;
Status = ConvertBmpToGopBlt (
ImageData,
ImageSize,