0

C109 Unneeded boolean comparison

shahram_banazadeh 7 years ago 0

I have downloaded Trial Version of fixinsight.But there are too many false positive warnings.
for example

 if not( IdTelnet1.Connected ) then
  begin
    Timer1Lan.Enabled := false;
    Timerc.Enabled := True;
    exit;
  end;
or

   b := sepdate(logstr, 22, 8, log.month, log.Day, log.Year);
          if b = false then
          begin
            ok := false;
            exit;
          end;
         ....

both:C109 Unneeded boolean comparison

Or
O801 CONST missing for unmodified string parameter 'S' for function define
function SepTime(S: string; Var hour, minute: word): boolean;

am I do something wrong?