Geno Roupsky wrote:
There are very few situations where the sender is nil and still if you expect such a case you can always write something like:

Assert((Sender = nil) or (Sender <> nil));


or Assert(True or (Sender=nil)).

But it remains ugly, IMHO.

I will try to implement an option in the IDE to ignore this hint (similar to the unit not used hint).

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to