]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
EdkCompatibilityPkg: UefiEfiIfrSupportLib: remove set but not used variables
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / UefiEfiIfrSupportLib / UefiIfrForm.c
index 1452ef003504b33e6126d717ebc6846b1508466a..864a850d4a7991889e8b3d9ce6bc5cfcac4b6cf2 100644 (file)
@@ -452,9 +452,7 @@ Returns:
   UINTN                         Index;\r
   UINTN                         Count;\r
   UINTN                         Start;\r
-  UINTN                         End;\r
   UINTN                         Top;\r
-  UINTN                         Bottom;\r
   CHAR16                        *StringPtr;\r
   UINTN                         LeftColumn;\r
   UINTN                         RightColumn;\r
@@ -529,10 +527,8 @@ Returns:
   // each end plus a border.\r
   //\r
   Start     = (DimensionsWidth - LargestString - 2) / 2 + LeftColumn + 1;\r
-  End       = Start + LargestString + 1;\r
 \r
   Top       = ((DimensionsHeight - NumberOfLines - 2) / 2) + TopRow - 1;\r
-  Bottom    = Top + NumberOfLines + 2;\r
 \r
   //\r
   // Disable cursor\r