summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
index 1452ef0035..864a850d4a 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
@@ -452,9 +452,7 @@ Returns:
UINTN Index;
UINTN Count;
UINTN Start;
- UINTN End;
UINTN Top;
- UINTN Bottom;
CHAR16 *StringPtr;
UINTN LeftColumn;
UINTN RightColumn;
@@ -529,10 +527,8 @@ Returns:
// each end plus a border.
//
Start = (DimensionsWidth - LargestString - 2) / 2 + LeftColumn + 1;
- End = Start + LargestString + 1;
Top = ((DimensionsHeight - NumberOfLines - 2) / 2) + TopRow - 1;
- Bottom = Top + NumberOfLines + 2;
//
// Disable cursor