* 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:
michael 2020-08-23 10:23:26 +00:00
parent bac46c9d3b
commit 31c847c3d9

View File

@ -425,9 +425,7 @@ procedure TJSONDeStreamer.DoClearProperty(AObject : TObject;PropInfo : PPropInfo
Var
PI : PPropInfo;
TI : PTypeInfo;
I,J,S : Integer;
A : TJSONArray;
JS : TJSONStringType;
begin
PI:=PropInfo;
TI:=PropInfo^.PropType;
@ -458,6 +456,8 @@ begin
SetOrdProp(AObject,PI,0);
tkUString :
SetUnicodeStrProp(AObject,PI,'');
else
{
tkObject,
tkArray,
tkRecord,
@ -465,7 +465,7 @@ begin
tkDynArray,
tkInterfaceRaw,
tkProcVar,
tkMethod :
tkMethod }
Error(SErrUnsupportedPropertyKind,[PI^.Name]);
end;
end;