From 8ba6b2b11a37b660e26b01fa04ce00ac4fab3e90 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 27 Nov 2008 19:51:11 +0000 Subject: * minor: remove mono compiler warnings --- OpenSim/Data/MySQL/MySQLRegionData.cs | 1 - OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index 992e84d..bd74166 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs @@ -97,7 +97,6 @@ namespace OpenSim.Data.MySQL { errorSeen = true; continue; - continue; } throw; } diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e3b91a5..7dac5de 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -3490,7 +3490,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP handlerGenericMessage(sender, method, msg); return true; } - catch (Exception ex) + catch { } } diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 2a8bba8..e664fb0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -83,7 +83,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance private int m_ControlEventsInQueue = 0; private int m_LastControlLevel = 0; private bool m_CollisionInQueue = false; - private ISponsor m_ScriptSponsor; + //private ISponsor m_ScriptSponsor; private Dictionary, KeyValuePair> m_LineMap; @@ -213,7 +213,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance ISponsor scriptSponsor = new ScriptSponsor(); ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject); lease.Register(scriptSponsor); - m_ScriptSponsor = scriptSponsor; + //m_ScriptSponsor = scriptSponsor; } catch (Exception e) -- cgit v1.1