Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2024-08

Maybe missing assigned check? TBasicActionLink.Update

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb
Other functions of  TBasicActionLink have checks like
    if FAction  nil then

But "Update" does not. Is that intended?
Or shall I bug report it?

function TBasicActionLink.Update: Boolean;
begin
   Result := FAction.Update;
end;

Reply by email

Michael Van Canneyt
to Martin Frb
Martin Frb wrote 10 lines
Other functions of  TBasicActionLink have checks like    if FAction nil then But "Update" does not. Is that intended? Or shall I bug report it? function TBasicActionLink.Update: Boolean; begin   Result := FAction.Update; end;

I added a check. Thanks for pointing it out!

Michael.

Reply by email