[fpc-devel] Maybe missing assigned check? TBasicActionLink.Update

Michael Van Canneyt michael at freepascal.org
Tue Aug 13 10:25:08 CEST 2024



On Sat, 10 Aug 2024, Martin Frb via fpc-devel wrote:

> 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.


More information about the fpc-devel mailing list