mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 04:26:13 +02:00
* Merging revisions r46330 from trunk:
------------------------------------------------------------------------ r46330 | michael | 2020-08-08 14:40:13 +0200 (Sat, 08 Aug 2020) | 1 line * Remove some warnings/hints ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@46638 -
This commit is contained in:
parent
bac46c9d3b
commit
31c847c3d9
@ -425,9 +425,7 @@ procedure TJSONDeStreamer.DoClearProperty(AObject : TObject;PropInfo : PPropInfo
|
|||||||
Var
|
Var
|
||||||
PI : PPropInfo;
|
PI : PPropInfo;
|
||||||
TI : PTypeInfo;
|
TI : PTypeInfo;
|
||||||
I,J,S : Integer;
|
|
||||||
A : TJSONArray;
|
|
||||||
JS : TJSONStringType;
|
|
||||||
begin
|
begin
|
||||||
PI:=PropInfo;
|
PI:=PropInfo;
|
||||||
TI:=PropInfo^.PropType;
|
TI:=PropInfo^.PropType;
|
||||||
@ -458,6 +456,8 @@ begin
|
|||||||
SetOrdProp(AObject,PI,0);
|
SetOrdProp(AObject,PI,0);
|
||||||
tkUString :
|
tkUString :
|
||||||
SetUnicodeStrProp(AObject,PI,'');
|
SetUnicodeStrProp(AObject,PI,'');
|
||||||
|
else
|
||||||
|
{
|
||||||
tkObject,
|
tkObject,
|
||||||
tkArray,
|
tkArray,
|
||||||
tkRecord,
|
tkRecord,
|
||||||
@ -465,7 +465,7 @@ begin
|
|||||||
tkDynArray,
|
tkDynArray,
|
||||||
tkInterfaceRaw,
|
tkInterfaceRaw,
|
||||||
tkProcVar,
|
tkProcVar,
|
||||||
tkMethod :
|
tkMethod }
|
||||||
Error(SErrUnsupportedPropertyKind,[PI^.Name]);
|
Error(SErrUnsupportedPropertyKind,[PI^.Name]);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user