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