On Wed, 2 May 2018 02:19:05 +0200
"Carlos E. R. via Lazarus" <[email protected]> wrote:

>[...]
> function TPINGSend.Checksum6(Value: AnsiString): Word;
> begin
>   Result := 0;
> end;

You can:
a) add a dummy statement: if Value='' then ;
b) add an IDE directive: right click on this message in the Lazarus
Messages window, Hide message by inserting IDE directive

Mattias> 
> I see on the contextual menu of the warning that I can silence that
> warning type on a file (all warnings of that type in that file, not just
> the ones I know about):
> 
> {$WARN 5024 off : Parameter "$1" not used}
> 
> Lazarus writes "on"; tried both. Neither work, the warning still appears.

It should be "off". I fixed that in trunk.

Mattias
-- 
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to