mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 21:59:47 +02:00
* also initialize variant part in Empty function
git-svn-id: trunk@36980 -
This commit is contained in:
parent
3cb8cb293d
commit
bd74f9af64
@ -535,6 +535,7 @@ end;
|
||||
class function TValue.Empty: TValue;
|
||||
begin
|
||||
result.FData.FTypeInfo := nil;
|
||||
result.FData.FAsUInt64 := 0;
|
||||
end;
|
||||
|
||||
class procedure TValue.Make(ABuffer: pointer; ATypeInfo: PTypeInfo; out result: TValue);
|
||||
|
Loading…
Reference in New Issue
Block a user