mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* Remove some warnings/hints
git-svn-id: trunk@46330 -
This commit is contained in:
parent
cc4e6458c4
commit
fed066b805
@ -423,9 +423,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;
|
||||
@ -456,6 +454,8 @@ begin
|
||||
SetOrdProp(AObject,PI,0);
|
||||
tkUString :
|
||||
SetUnicodeStrProp(AObject,PI,'');
|
||||
else
|
||||
{
|
||||
tkObject,
|
||||
tkArray,
|
||||
tkRecord,
|
||||
@ -463,7 +463,7 @@ begin
|
||||
tkDynArray,
|
||||
tkInterfaceRaw,
|
||||
tkProcVar,
|
||||
tkMethod :
|
||||
tkMethod }
|
||||
Error(SErrUnsupportedPropertyKind,[PI^.Name]);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user