Silence warning

This commit is contained in:
Wojtek Figat
2021-02-17 16:10:15 +01:00
parent 88b575539a
commit 580e08b6ab

View File

@@ -593,7 +593,9 @@ namespace FlaxEditor.CustomEditors
JsonSerializer.Deserialize(obj, text); JsonSerializer.Deserialize(obj, text);
} }
} }
#pragma warning disable 618
else if (Newtonsoft.Json.Schema.JsonSchema.Parse(text) == null) else if (Newtonsoft.Json.Schema.JsonSchema.Parse(text) == null)
#pragma warning restore 618
{ {
return false; return false;
} }