(cherry picked from commit 2628a6ee17de65f18e6b4148a601cd35ec331717)
@@ -454,10 +454,6 @@ begin
end;
Function TProcess.WaitOnExit : Boolean;
-
-Var
- R : Dword;
begin
if FRunning then
fexitcode:=waitprocess(handle);