mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:06:14 +02:00
objcdef: remove duplicate variant start check
This commit is contained in:
parent
76e3cfc38f
commit
5d02c65425
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user