aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-19 18:45:41 +0000
committerJustin Clarke Casey2008-10-19 18:45:41 +0000
commit923f9fb749e6e5c19830c35336ec4effbded531c (patch)
tree28b70bbe0286b2a9334fb8bf2f09eaad7308406d /OpenSim/Region
parent* refactor: move loadInv and saveInv command line param functions up to the i... (diff)
downloadopensim-SC_OLD-923f9fb749e6e5c19830c35336ec4effbded531c.zip
opensim-SC_OLD-923f9fb749e6e5c19830c35336ec4effbded531c.tar.gz
opensim-SC_OLD-923f9fb749e6e5c19830c35336ec4effbded531c.tar.bz2
opensim-SC_OLD-923f9fb749e6e5c19830c35336ec4effbded531c.tar.xz
* minor: remove mono warnings
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs1
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs2
3 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 5ceea18..e3ded7f 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -304,7 +304,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
304 m_socket.BeginReceiveFrom( 304 m_socket.BeginReceiveFrom(
305 RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref reusedEpSender, ReceivedData, null); 305 RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref reusedEpSender, ReceivedData, null);
306 } 306 }
307 catch (SocketException e) 307 catch (SocketException)
308 { 308 {
309 // We don't need to see this error, reset connection and get next UDP packet off the buffer 309 // We don't need to see this error, reset connection and get next UDP packet off the buffer
310 // If the UDP packet is part of the same stream, this will happen several hundreds of times before 310 // If the UDP packet is part of the same stream, this will happen several hundreds of times before
diff --git a/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs b/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
index 5495c1d..3fdb771 100644
--- a/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Wind/WindModule.cs
@@ -154,6 +154,7 @@ namespace OpenSim.Region.Environment.Modules
154 //m_scene.RegionInfo.RegionSettings.SunVector = Position; 154 //m_scene.RegionInfo.RegionSettings.SunVector = Position;
155 //m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime(); 155 //m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime();
156 } 156 }
157
157 public void ForceWindUpdateToAllClients() 158 public void ForceWindUpdateToAllClients()
158 { 159 {
159 GenWindPos(); // Generate shared values once 160 GenWindPos(); // Generate shared values once
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index 4814c4a..b36b5a8 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -1659,7 +1659,7 @@ namespace PrimMesher
1659 1659
1660 public Coord SurfaceNormal(int faceIndex) 1660 public Coord SurfaceNormal(int faceIndex)
1661 { 1661 {
1662 int numFaces = faces.Count; 1662 //int numFaces = faces.Count;
1663 if (faceIndex < 0 || faceIndex >= faces.Count) 1663 if (faceIndex < 0 || faceIndex >= faces.Count)
1664 throw new Exception("faceIndex out of range"); 1664 throw new Exception("faceIndex out of range");
1665 1665