* don't check for the presence of the group in TOmfObjOutput.AddSegmentToGroup,

because, it is no longer possible for it to not be present (all the groups
  are added beforehand now)

git-svn-id: trunk@39272 -
This commit is contained in:
nickysn 2018-06-21 20:33:24 +00:00
parent 9a0eca52cb
commit d3db9e101a

View File

@ -787,12 +787,6 @@ implementation
g: TOmfRecord_GRPDEF;
begin
g:=TOmfRecord_GRPDEF(Groups.Find(groupname));
if g=nil then
begin
g:=TOmfRecord_GRPDEF.Create;
Groups.Add(groupname,g);
g.GroupNameIndex:=LNames.Add(groupname);
end;
g.AddSegmentIndex(segindex);
end;