mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 03:59:28 +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;
|
||||
exit;
|
||||
end;
|
||||
if IsEmpty then
|
||||
exit;
|
||||
case Kind of
|
||||
tkEnumeration,
|
||||
tkBool,
|
||||
|
Loading…
Reference in New Issue
Block a user