mirror of https://github.com/acidanthera/audk.git
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:
parent
f6830005bb
commit
e36ed7a84b
|
@ -759,7 +759,6 @@ FileBufferRefresh (
|
||||||
|
|
||||||
UINTN StartRow;
|
UINTN StartRow;
|
||||||
UINTN EndRow;
|
UINTN EndRow;
|
||||||
UINTN FStartRow;
|
|
||||||
UINTN Tmp;
|
UINTN Tmp;
|
||||||
|
|
||||||
Orig = MainEditor.ColorAttributes;
|
Orig = MainEditor.ColorAttributes;
|
||||||
|
@ -832,8 +831,6 @@ FileBufferRefresh (
|
||||||
EndRow = Tmp;
|
EndRow = Tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
FStartRow = StartRow;
|
|
||||||
|
|
||||||
StartRow = 2 + StartRow - FileBuffer.LowVisibleRange.Row;
|
StartRow = 2 + StartRow - FileBuffer.LowVisibleRange.Row;
|
||||||
EndRow = 2 + EndRow - FileBuffer.LowVisibleRange.Row;
|
EndRow = 2 + EndRow - FileBuffer.LowVisibleRange.Row;
|
||||||
|
|
||||||
|
@ -841,7 +838,6 @@ FileBufferRefresh (
|
||||||
//
|
//
|
||||||
// not mouse selection actions
|
// not mouse selection actions
|
||||||
//
|
//
|
||||||
FStartRow = FileBuffer.LowVisibleRange.Row;
|
|
||||||
StartRow = 2;
|
StartRow = 2;
|
||||||
EndRow = (MainEditor.ScreenSize.Row - 1);
|
EndRow = (MainEditor.ScreenSize.Row - 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue