From dcfd343a1e9dacb800e1272f38eefad3c5d9bf53 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 17 Nov 2008 16:22:21 +0000 Subject: minor: remove mono compiler warnings --- .../Avatar/InstantMessage/InstantMessageModule.cs | 2 +- .../Avatar/InstantMessage/MessageTransferModule.cs | 34 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs index b106435..88c0680 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs @@ -50,7 +50,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage #region IRegionModule Members - private bool gridmode = false; + //private bool gridmode = false; private IMessageTransferModule m_TransferModule = null; diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs index 8c9abc1..c5b5ebb 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs @@ -565,23 +565,23 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage /// /// UUID of region to get the region handle for /// - private ulong getLocalRegionHandleFromUUID(UUID regionID) - { - ulong returnhandle = 0; - - lock (m_Scenes) - { - foreach (Scene sn in m_Scenes) - { - if (sn.RegionInfo.RegionID == regionID) - { - returnhandle = sn.RegionInfo.RegionHandle; - break; - } - } - } - return returnhandle; - } +// private ulong getLocalRegionHandleFromUUID(UUID regionID) +// { +// ulong returnhandle = 0; +// +// lock (m_Scenes) +// { +// foreach (Scene sn in m_Scenes) +// { +// if (sn.RegionInfo.RegionID == regionID) +// { +// returnhandle = sn.RegionInfo.RegionHandle; +// break; +// } +// } +// } +// return returnhandle; +// } /// /// Takes a GridInstantMessage and converts it into a Hashtable for XMLRPC -- cgit v1.1