Procházet zdrojové kódy

* Initialize result, bug ID #0030771

git-svn-id: trunk@34748 -
michael před 9 roky
rodič
revize
ae468bfb43
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      packages/fcl-base/src/fptimer.pp

+ 1 - 0
packages/fcl-base/src/fptimer.pp

@@ -334,6 +334,7 @@ Var
   Diff: Extended;
    
 begin
+  Result:=False;
     { Use Counter*fInterval to avoid numerical errors resulting from adding
       small values (AInterval/cMilliSecs) to a large real number (TDateTime),
       even when using Extended precision }