mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 17:49:28 +02:00
LCL: cleaned up some unused variables, issue #40414
This commit is contained in:
parent
770e392d8e
commit
50e7d46c66
@ -575,8 +575,6 @@ end;
|
||||
|
||||
function GetDefaultButtonIcon(idButton: Integer;
|
||||
ScalePercent: Integer): TCustomBitmap;
|
||||
var
|
||||
ResName: string;
|
||||
begin
|
||||
Result := nil;
|
||||
if (idButton < Low(BitBtnResNames)) or (idButton > High(BitBtnResNames)) then
|
||||
@ -631,8 +629,6 @@ begin
|
||||
end;
|
||||
|
||||
procedure LoadGlyphFromResource(AGlyph: TButtonGlyph; idButton: Integer);
|
||||
var
|
||||
I: Integer;
|
||||
begin
|
||||
if not((Low(TButtonImage)<=idButton) and (idButton<=High(TButtonImage))) then
|
||||
Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user