From cdb1851f438349a8721c0d9cef54837d0b302189 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 4 Jun 2019 00:50:59 +1000 Subject: Warnings-- --- .../Scenes/Serialization/CoalescedSceneObjectsSerializer.cs | 2 +- .../Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Serialization') diff --git a/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs index 4024fea..8fa4409 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/CoalescedSceneObjectsSerializer.cs @@ -179,7 +179,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization i++; } } - catch (Exception e) + catch /*(Exception e)*/ { m_log.Error("[COALESCED SCENE OBJECTS SERIALIZER]: Deserialization of xml failed "); //// m_log.Error("[COALESCED SCENE OBJECTS SERIALIZER]: Deserialization of xml failed ", e); diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index c2b075c..ab70010 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs @@ -69,7 +69,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization { return FromOriginalXmlFormat(reader); } - catch (Exception e) + catch /*(Exception e)*/ { m_log.Error("[SERIALIZER]: Deserialization of xml failed "); //// m_log.Error("[SERIALIZER]: Deserialization of xml failed ", e); @@ -314,7 +314,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization // sceneObject.AggregatePerms(); return sceneObject; } - catch (Exception e) + catch /*(Exception e)*/ { m_log.Error("[SERIALIZER]: Deserialization of xml failed "); //// m_log.Error("[SERIALIZER]: Deserialization of xml failed ", e); @@ -1402,7 +1402,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization value = reader.ReadElementContentAsString("Media", String.Empty); shp.Media = PrimitiveBaseShape.MediaList.FromXml(value); } - catch (XmlException e) + catch (XmlException) { // There are versions of OAR files that contain unquoted XML. // ie ONE comercial fork that never wanted their oars to be read by our code -- cgit v1.1