0

New warning "Parameter <xxx> is passed to method but never used"

Lübbe Onken 9 years ago 0

In addition to Delphis compiler warning "Parameter <xxx> is declared but never used" I'd like to have a warning that triggers on the following case:


procedure Test(AValue: string);
begin
  writeln('hallo');
end;
A warning "Parameter 'AValue' is passed into procedure 'Test' but never used", would help to detect many corpses that are carried around in some applications.