mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 04:09:19 +02:00
* GetDataSize is 0 for empty TValue
This commit is contained in:
parent
4afc656ac5
commit
2070a45217
@ -2860,6 +2860,8 @@ begin
|
|||||||
Result:=FData.FValueData.GetDataSize;
|
Result:=FData.FValueData.GetDataSize;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
if IsEmpty then
|
||||||
|
exit;
|
||||||
case Kind of
|
case Kind of
|
||||||
tkEnumeration,
|
tkEnumeration,
|
||||||
tkBool,
|
tkBool,
|
||||||
|
Loading…
Reference in New Issue
Block a user