From 9f6b8ec9b029501589516099bb0dde26b0e032a1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 15 Apr 2009 19:46:37 +0000 Subject: minor: Remove some mono compiler warnings. Uncomment code when it's actually being used. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 14 +++++++------- OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | 2 +- .../Scripting/XmlRpcRouterModule/XmlRpcRouterModule.cs | 2 +- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 7ddbfbf..7340628 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -309,7 +309,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private MuteListRequest handlerMuteListRequest; - private AvatarInterestUpdate handlerAvatarInterestUpdate; + //private AvatarInterestUpdate handlerAvatarInterestUpdate; private readonly IGroupsModule m_GroupsModule; @@ -1107,7 +1107,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP public event MuteListRequest OnMuteListRequest; - public event AvatarInterestUpdate OnAvatarInterestUpdate; + //public event AvatarInterestUpdate OnAvatarInterestUpdate; public void ActivateGesture(UUID assetId, UUID gestureId) { @@ -9111,11 +9111,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP Utils.BytesToString(avatarNotesUpdate.Data.Notes)); break; - case PacketType.AvatarInterestsUpdate: - AvatarInterestsUpdatePacket avatarInterestUpdate = - (AvatarInterestsUpdatePacket)Pack; - - break; +// case PacketType.AvatarInterestsUpdate: +// AvatarInterestsUpdatePacket avatarInterestUpdate = +// (AvatarInterestsUpdatePacket)Pack; +// +// break; default: m_log.Warn("[CLIENT]: unhandled packet " + Pack); diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index 05ae5a9..20c7dc1 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs @@ -154,7 +154,7 @@ namespace OpenSim.Region.Communications.Hypergrid /// null if the request fails public override UserProfileData GetUserProfile(UUID avatarID) { - string url = string.Empty; + //string url = string.Empty; // Unfortunately we can't query for foreigners here, // because we'll end up in an infinite loop... //if ((m_localUserServices != null) && (!IsForeignUser(avatarID, out url))) diff --git a/OpenSim/Region/OptionalModules/Scripting/XmlRpcRouterModule/XmlRpcRouterModule.cs b/OpenSim/Region/OptionalModules/Scripting/XmlRpcRouterModule/XmlRpcRouterModule.cs index cdde893..0fb6ebe 100644 --- a/OpenSim/Region/OptionalModules/Scripting/XmlRpcRouterModule/XmlRpcRouterModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/XmlRpcRouterModule/XmlRpcRouterModule.cs @@ -41,7 +41,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.XmlRpcRouterModule { public class XmlRpcRouter : IRegionModule, IXmlRpcRouter { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public void Initialise(Scene scene, IConfigSource config) { diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 4b9affc..20bfc2f 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -770,7 +770,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine if (part != null) part.RemoveScriptEvents(itemID); - bool objectRemoved = false; +// bool objectRemoved = false; lock (m_PrimObjects) { @@ -785,7 +785,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine if (m_PrimObjects[localID].Count == 0) { m_PrimObjects.Remove(localID); - objectRemoved = true; +// objectRemoved = true; } } } -- cgit v1.1