diff options
Diffstat (limited to 'OptionRomPkg/Library')
-rw-r--r-- | OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c | 2 | ||||
-rw-r--r-- | OptionRomPkg/Library/GopBltLib/GopBltLib.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c index dd54b0799b..5bb3cfbb28 100644 --- a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c +++ b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c @@ -615,7 +615,7 @@ BltLibBufferToVideoEx ( BltMemDst = (VOID*) (mBltLibFrameBuffer + Offset);
if (mPixelFormat == PixelBlueGreenRedReserved8BitPerColor) {
- BltMemSrc = (VOID *) (UINT8 *) BltBuffer + (SrcY * Delta);
+ BltMemSrc = (VOID *) ((UINT8 *) BltBuffer + (SrcY * Delta));
} else {
for (X = 0; X < Width; X++) {
Blt =
diff --git a/OptionRomPkg/Library/GopBltLib/GopBltLib.c b/OptionRomPkg/Library/GopBltLib/GopBltLib.c index 5c353bc483..5a90d9b614 100644 --- a/OptionRomPkg/Library/GopBltLib/GopBltLib.c +++ b/OptionRomPkg/Library/GopBltLib/GopBltLib.c @@ -113,8 +113,6 @@ InternalGopBltCommon ( IN UINTN Delta
)
{
- EFI_STATUS Status;
-
if (mGop == NULL) {
return EFI_DEVICE_ERROR;
}
|