objcdef: remove duplicate variant start check

This commit is contained in:
Jonas Maebe 2022-06-05 23:00:39 +02:00
parent 76e3cfc38f
commit 5d02c65425

View File

@ -123,8 +123,6 @@ implementation
end;
if (varindex<0) then
internalerror(2009081805);
if (tfieldvarsym(variantstarts[varindex]).fieldoffset<>field.fieldoffset) then
internalerror(2009081804);
{ variant at the same level as a previous one }
variantstarts.count:=varindex+1;