Am 05.04.2013 14:52, schrieb Kostas Michalopoulos:
You can use this:

{$PUSH}{$WARN 5024 OFF}

// Code where you dont want to get warnings about unused parameters

{$POP}

(you can put the push at the top of the implementation part of a unit and you wont get warnings for the rest of that unit)

Originally I wanted to suggest this as well, but it does not allow you to specifically select which parameters to ignore. Though this will depend on whether the user wants to generally disable the message or only disable for selected functions or specific parameters...

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to