Browse Source

Suppress non-set result warning in Seek method

git-svn-id: trunk@29106 -
pierre 10 years ago
parent
commit
821646ed05
1 changed files with 1 additions and 0 deletions
  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;