ShellPkg/UefiShellDebug1CommandsLib: remove unused but set variable

Remove variable FStartRow that is declared, assigned but never referenced.
This fixes a warning emitted by GCC when -Wunused-but-set-variable is in
effect.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Ard Biesheuvel 2016-03-24 07:15:45 +01:00
parent f6830005bb
commit e36ed7a84b
1 changed files with 0 additions and 4 deletions

View File

@ -759,7 +759,6 @@ FileBufferRefresh (
UINTN StartRow;
UINTN EndRow;
UINTN FStartRow;
UINTN Tmp;
Orig = MainEditor.ColorAttributes;
@ -832,8 +831,6 @@ FileBufferRefresh (
EndRow = Tmp;
}
FStartRow = StartRow;
StartRow = 2 + StartRow - FileBuffer.LowVisibleRange.Row;
EndRow = 2 + EndRow - FileBuffer.LowVisibleRange.Row;
@ -841,7 +838,6 @@ FileBufferRefresh (
//
// not mouse selection actions
//
FStartRow = FileBuffer.LowVisibleRange.Row;
StartRow = 2;
EndRow = (MainEditor.ScreenSize.Row - 1);
}