Explorar o código

Suppress non-set result warning in Seek method

git-svn-id: trunk@29106 -
pierre %!s(int64=11) %!d(string=hai) anos
pai
achega
821646ed05
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-process/src/pipes.pp

+ 1 - 0
packages/fcl-process/src/pipes.pp

@@ -120,6 +120,7 @@ end;
 function TOutputPipeStream.Seek(const Offset: int64; Origin: TSeekOrigin): int64;
 function TOutputPipeStream.Seek(const Offset: int64; Origin: TSeekOrigin): int64;
 
 
 begin
 begin
+  Result:=0; { to silence warning mostly }
   InvalidSeek;
   InvalidSeek;
 end;
 end;