LCL: cleaned up some unused variables, issue

This commit is contained in:
Maxim Ganetsky 2023-07-31 02:44:43 +03:00
parent 770e392d8e
commit 50e7d46c66

View File

@ -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;