Einzelnen Beitrag anzeigen

Roman Yankovsky

Registriert seit: 18. Feb 2015
 
#62

AW: Neuer FixInsight ist da!

  Alt 4. Okt 2015, 19:30
Finally FixInsight 2015.10 is able to suppress a warning for a piece of code (that was discussed on a previous page). It works not for a scope, but for a particular line though.

Example:
Delphi-Quellcode:
      procedure RestartTimer;
      begin
        FTimer.Enabled := False;
        FTimer.Enabled := True; //FI:W508 - this warning will be ignored.
      end;
So it's just a "FI:<RULENUMBER>" comment.
  Mit Zitat antworten Zitat