diff options
author | Justin Clark-Casey (justincc) | 2009-11-09 16:03:15 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-09 16:03:15 +0000 |
commit | a7af92d5d025b3d1522be94fea8c0f64237a352e (patch) | |
tree | 0cab63dd492ba65e73b8e65490f80136b757d4a2 /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | refactor: make human iar escape char a constant rather than a magic char (diff) | |
download | opensim-SC_OLD-a7af92d5d025b3d1522be94fea8c0f64237a352e.zip opensim-SC_OLD-a7af92d5d025b3d1522be94fea8c0f64237a352e.tar.gz opensim-SC_OLD-a7af92d5d025b3d1522be94fea8c0f64237a352e.tar.bz2 opensim-SC_OLD-a7af92d5d025b3d1522be94fea8c0f64237a352e.tar.xz |
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs index 9c04755..f2d8579 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs | |||
@@ -336,7 +336,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
336 | public List<GridRegion> GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax) | 336 | public List<GridRegion> GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax) |
337 | { | 337 | { |
338 | int snapXmin = (int)(xmin / Constants.RegionSize) * (int)Constants.RegionSize; | 338 | int snapXmin = (int)(xmin / Constants.RegionSize) * (int)Constants.RegionSize; |
339 | int snapXmax = (int)(xmax / Constants.RegionSize) * (int)Constants.RegionSize; | 339 | // int snapXmax = (int)(xmax / Constants.RegionSize) * (int)Constants.RegionSize; |
340 | int snapYmin = (int)(ymin / Constants.RegionSize) * (int)Constants.RegionSize; | 340 | int snapYmin = (int)(ymin / Constants.RegionSize) * (int)Constants.RegionSize; |
341 | int snapYmax = (int)(ymax / Constants.RegionSize) * (int)Constants.RegionSize; | 341 | int snapYmax = (int)(ymax / Constants.RegionSize) * (int)Constants.RegionSize; |
342 | 342 | ||
@@ -613,7 +613,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
613 | m_log.Info("[HGrid]: Local user is going to foreign region or foreign user is going elsewhere"); | 613 | m_log.Info("[HGrid]: Local user is going to foreign region or foreign user is going elsewhere"); |
614 | 614 | ||
615 | // Set the position of the region on the remote grid | 615 | // Set the position of the region on the remote grid |
616 | ulong realHandle = FindRegionHandle(regInfo.RegionHandle); | 616 | // ulong realHandle = FindRegionHandle(regInfo.RegionHandle); |
617 | uint x = 0, y = 0; | 617 | uint x = 0, y = 0; |
618 | Utils.LongToUInts(regInfo.RegionHandle, out x, out y); | 618 | Utils.LongToUInts(regInfo.RegionHandle, out x, out y); |
619 | GridRegion clonedRegion = new GridRegion(regInfo); | 619 | GridRegion clonedRegion = new GridRegion(regInfo); |