removed useless code, the stream is not the proc output, it's already copied

This commit is contained in:
Basile Burg 2015-03-17 01:33:26 +01:00
parent 429e0640f3
commit cfb5e2009d
1 changed files with 0 additions and 4 deletions

View File

@ -224,7 +224,6 @@ end;
procedure TSymbolList.LoadFromTool(str: TStream);
var
bin: TMemoryStream;
dat: integer;
begin
bin := TMemoryStream.Create;
try
@ -232,9 +231,6 @@ begin
try
ObjectTextToBinary(str, bin);
except
// if output is not fully read then
// the tool process never terminates.
while str.Read(dat, SizeOf(dat)) <> 0 do;
exit;
end;
bin.Position:=0;