mirror of https://gitlab.com/basile.b/dexed.git
removed useless code, the stream is not the proc output, it's already copied
This commit is contained in:
parent
429e0640f3
commit
cfb5e2009d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue