diff options
author | Justin Clarke Casey | 2009-04-15 19:46:37 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-15 19:46:37 +0000 |
commit | 9f6b8ec9b029501589516099bb0dde26b0e032a1 (patch) | |
tree | eeb1e2a317b7e26e8e96e95d196fd88b21516e63 /OpenSim/Region | |
parent | * Make it possible to add a request id to load and save oar requests (diff) | |
download | opensim-SC_OLD-9f6b8ec9b029501589516099bb0dde26b0e032a1.zip opensim-SC_OLD-9f6b8ec9b029501589516099bb0dde26b0e032a1.tar.gz opensim-SC_OLD-9f6b8ec9b029501589516099bb0dde26b0e032a1.tar.bz2 opensim-SC_OLD-9f6b8ec9b029501589516099bb0dde26b0e032a1.tar.xz |
minor: Remove some mono compiler warnings. Uncomment code when it's actually being used.
Diffstat (limited to 'OpenSim/Region')
4 files changed, 11 insertions, 11 deletions
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 | |||
309 | 309 | ||
310 | private MuteListRequest handlerMuteListRequest; | 310 | private MuteListRequest handlerMuteListRequest; |
311 | 311 | ||
312 | private AvatarInterestUpdate handlerAvatarInterestUpdate; | 312 | //private AvatarInterestUpdate handlerAvatarInterestUpdate; |
313 | 313 | ||
314 | private readonly IGroupsModule m_GroupsModule; | 314 | private readonly IGroupsModule m_GroupsModule; |
315 | 315 | ||
@@ -1107,7 +1107,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1107 | 1107 | ||
1108 | public event MuteListRequest OnMuteListRequest; | 1108 | public event MuteListRequest OnMuteListRequest; |
1109 | 1109 | ||
1110 | public event AvatarInterestUpdate OnAvatarInterestUpdate; | 1110 | //public event AvatarInterestUpdate OnAvatarInterestUpdate; |
1111 | 1111 | ||
1112 | public void ActivateGesture(UUID assetId, UUID gestureId) | 1112 | public void ActivateGesture(UUID assetId, UUID gestureId) |
1113 | { | 1113 | { |
@@ -9111,11 +9111,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9111 | Utils.BytesToString(avatarNotesUpdate.Data.Notes)); | 9111 | Utils.BytesToString(avatarNotesUpdate.Data.Notes)); |
9112 | break; | 9112 | break; |
9113 | 9113 | ||
9114 | case PacketType.AvatarInterestsUpdate: | 9114 | // case PacketType.AvatarInterestsUpdate: |
9115 | AvatarInterestsUpdatePacket avatarInterestUpdate = | 9115 | // AvatarInterestsUpdatePacket avatarInterestUpdate = |
9116 | (AvatarInterestsUpdatePacket)Pack; | 9116 | // (AvatarInterestsUpdatePacket)Pack; |
9117 | 9117 | // | |
9118 | break; | 9118 | // break; |
9119 | 9119 | ||
9120 | default: | 9120 | default: |
9121 | m_log.Warn("[CLIENT]: unhandled packet " + Pack); | 9121 | 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 | |||
154 | /// <returns>null if the request fails</returns> | 154 | /// <returns>null if the request fails</returns> |
155 | public override UserProfileData GetUserProfile(UUID avatarID) | 155 | public override UserProfileData GetUserProfile(UUID avatarID) |
156 | { | 156 | { |
157 | string url = string.Empty; | 157 | //string url = string.Empty; |
158 | // Unfortunately we can't query for foreigners here, | 158 | // Unfortunately we can't query for foreigners here, |
159 | // because we'll end up in an infinite loop... | 159 | // because we'll end up in an infinite loop... |
160 | //if ((m_localUserServices != null) && (!IsForeignUser(avatarID, out url))) | 160 | //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 | |||
41 | { | 41 | { |
42 | public class XmlRpcRouter : IRegionModule, IXmlRpcRouter | 42 | public class XmlRpcRouter : IRegionModule, IXmlRpcRouter |
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | 45 | ||
46 | public void Initialise(Scene scene, IConfigSource config) | 46 | public void Initialise(Scene scene, IConfigSource config) |
47 | { | 47 | { |
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 | |||
770 | if (part != null) | 770 | if (part != null) |
771 | part.RemoveScriptEvents(itemID); | 771 | part.RemoveScriptEvents(itemID); |
772 | 772 | ||
773 | bool objectRemoved = false; | 773 | // bool objectRemoved = false; |
774 | 774 | ||
775 | lock (m_PrimObjects) | 775 | lock (m_PrimObjects) |
776 | { | 776 | { |
@@ -785,7 +785,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
785 | if (m_PrimObjects[localID].Count == 0) | 785 | if (m_PrimObjects[localID].Count == 0) |
786 | { | 786 | { |
787 | m_PrimObjects.Remove(localID); | 787 | m_PrimObjects.Remove(localID); |
788 | objectRemoved = true; | 788 | // objectRemoved = true; |
789 | } | 789 | } |
790 | } | 790 | } |
791 | } | 791 | } |