Forráskód Böngészése

* Remove redundant if

git-svn-id: trunk@25378 -
michael 12 éve
szülő
commit
901f5742b8
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      packages/fcl-fpcunit/src/fpcunit.pp

+ 0 - 1
packages/fcl-fpcunit/src/fpcunit.pp

@@ -588,7 +588,6 @@ class procedure TAssert.AssertEquals(const AMessage: string; Expected, Actual: T
   end;
 
 begin
-  If (Expected<>Nil) then
   AssertTrue(AMessage + ComparisonMsg(GetN(Expected), GetN(Actual)), Expected = Actual);
 end;