Browse Source

[yamlSerializer] cleanup

Exilon 5 năm trước cách đây
mục cha
commit
9eda7b3533
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      Quick.YAML.Serializer.pas

+ 0 - 1
Quick.YAML.Serializer.pas

@@ -1503,7 +1503,6 @@ function TYamlSerializer.YamlToObject(aType: TClass; const aYaml: string): TObje
 var
   Yaml: TYamlObject;
 begin
-  Result := nil;
   Yaml := TYamlObject.ParseYamlValue(aYaml) as TYamlObject;
   try
     Result := fRTTIYaml.DeserializeClass(aType,Yaml);