mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 00:39:15 +02:00
objcdef: remove duplicate variant start check
This commit is contained in:
parent
76e3cfc38f
commit
5d02c65425
@ -123,8 +123,6 @@ implementation
|
|||||||
end;
|
end;
|
||||||
if (varindex<0) then
|
if (varindex<0) then
|
||||||
internalerror(2009081805);
|
internalerror(2009081805);
|
||||||
if (tfieldvarsym(variantstarts[varindex]).fieldoffset<>field.fieldoffset) then
|
|
||||||
internalerror(2009081804);
|
|
||||||
|
|
||||||
{ variant at the same level as a previous one }
|
{ variant at the same level as a previous one }
|
||||||
variantstarts.count:=varindex+1;
|
variantstarts.count:=varindex+1;
|
||||||
|
Loading…
Reference in New Issue
Block a user