Browse Source

* Remove some warnings/hints

git-svn-id: trunk@46330 -
michael 5 years ago
parent
commit
fed066b805
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packages/fcl-json/src/fpjsonrtti.pp

+ 4 - 4
packages/fcl-json/src/fpjsonrtti.pp

@@ -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;