0
Under review

Warning on unused parameters in a method call

Anonymous 10 years ago updated by Roman 10 years ago 2

Warning on unused parameters in a method call

ie.

function Test(const AString: string) : integer;
begin
Result := 10;
end;

AString is not used...


This is difficult because of virtual methods and event handlers, etc Too often you don't use a parameter but you must declare it.