mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 12:02:48 +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;
|
function GetDefaultButtonIcon(idButton: Integer;
|
||||||
ScalePercent: Integer): TCustomBitmap;
|
ScalePercent: Integer): TCustomBitmap;
|
||||||
var
|
|
||||||
ResName: string;
|
|
||||||
begin
|
begin
|
||||||
Result := nil;
|
Result := nil;
|
||||||
if (idButton < Low(BitBtnResNames)) or (idButton > High(BitBtnResNames)) then
|
if (idButton < Low(BitBtnResNames)) or (idButton > High(BitBtnResNames)) then
|
||||||
@ -631,8 +629,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure LoadGlyphFromResource(AGlyph: TButtonGlyph; idButton: Integer);
|
procedure LoadGlyphFromResource(AGlyph: TButtonGlyph; idButton: Integer);
|
||||||
var
|
|
||||||
I: Integer;
|
|
||||||
begin
|
begin
|
||||||
if not((Low(TButtonImage)<=idButton) and (idButton<=High(TButtonImage))) then
|
if not((Low(TButtonImage)<=idButton) and (idButton<=High(TButtonImage))) then
|
||||||
Exit;
|
Exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user