Sfoglia il codice sorgente

* Small optimization by LagProgramming. Fixes issue #40710

Michaël Van Canneyt 1 mese fa
parent
commit
1d357c7a49
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/fcl-hash/src/fptlsbigint.pas

+ 1 - 1
packages/fcl-hash/src/fptlsbigint.pas

@@ -395,7 +395,7 @@ begin
     Carry := 0;
     RIndex := I;
     J := 0;
-    if (OuterPartial > 0) and ((OuterPartial-I) > 0) and (OuterPartial < N) then
+    if (OuterPartial > I) and (OuterPartial < N) then
     begin
       RIndex := OuterPartial-1;
       J := OuterPartial-I-1;