aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-13 23:28:28 +0100
committerJustin Clark-Casey (justincc)2010-08-13 23:28:28 +0100
commit8acb401a1455430336c41ac9becb0c16390612f0 (patch)
treee3de4e8562741c8419b4d7bfafae707d84dd5df0 /OpenSim/Region/CoreModules/World
parentminor: remove mono compiler warnings (diff)
downloadopensim-SC_OLD-8acb401a1455430336c41ac9becb0c16390612f0.zip
opensim-SC_OLD-8acb401a1455430336c41ac9becb0c16390612f0.tar.gz
opensim-SC_OLD-8acb401a1455430336c41ac9becb0c16390612f0.tar.bz2
opensim-SC_OLD-8acb401a1455430336c41ac9becb0c16390612f0.tar.xz
minor: remove mono compiler warnings
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs12
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs18
3 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 31aa017..15dc301 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -139,12 +139,12 @@ namespace OpenSim.Region.CoreModules.World.Land
139 { 139 {
140 } 140 }
141 141
142 private bool OnVerifyUserConnection(ScenePresence scenePresence, out string reason) 142// private bool OnVerifyUserConnection(ScenePresence scenePresence, out string reason)
143 { 143// {
144 ILandObject nearestParcel = m_scene.GetNearestAllowedParcel(scenePresence.UUID, scenePresence.AbsolutePosition.X, scenePresence.AbsolutePosition.Y); 144// ILandObject nearestParcel = m_scene.GetNearestAllowedParcel(scenePresence.UUID, scenePresence.AbsolutePosition.X, scenePresence.AbsolutePosition.Y);
145 reason = "You are not allowed to enter this sim."; 145// reason = "You are not allowed to enter this sim.";
146 return nearestParcel != null; 146// return nearestParcel != null;
147 } 147// }
148 148
149 void EventManagerOnNewClient(IClientAPI client) 149 void EventManagerOnNewClient(IClientAPI client)
150 { 150 {
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
index b0ddd8f..62abd4c 100644
--- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
@@ -44,7 +44,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
44 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "BuySellModule")] 44 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "BuySellModule")]
45 public class BuySellModule : IBuySellModule, INonSharedRegionModule 45 public class BuySellModule : IBuySellModule, INonSharedRegionModule
46 { 46 {
47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 47// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
48 48
49 protected Scene m_scene = null; 49 protected Scene m_scene = null;
50 protected IDialogModule m_dialogModule; 50 protected IDialogModule m_dialogModule;
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
index a1a4f9e..9f88517 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
@@ -138,14 +138,14 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
138 remoteClient.SendMapBlock(blocks, 2); 138 remoteClient.SendMapBlock(blocks, 2);
139 } 139 }
140 140
141 private Scene GetClientScene(IClientAPI client) 141// private Scene GetClientScene(IClientAPI client)
142 { 142// {
143 foreach (Scene s in m_scenes) 143// foreach (Scene s in m_scenes)
144 { 144// {
145 if (client.Scene.RegionInfo.RegionHandle == s.RegionInfo.RegionHandle) 145// if (client.Scene.RegionInfo.RegionHandle == s.RegionInfo.RegionHandle)
146 return s; 146// return s;
147 } 147// }
148 return m_scene; 148// return m_scene;
149 } 149// }
150 } 150 }
151} 151}