Prechádzať zdrojové kódy

* Initialize result, bug ID #0030771

git-svn-id: trunk@34748 -
michael 8 rokov pred
rodič
commit
ae468bfb43
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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 }