Explorar o código

* Initialize result, bug ID #0030771

git-svn-id: trunk@34748 -
michael %!s(int64=9) %!d(string=hai) anos
pai
achega
ae468bfb43
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 }