* minor: remove mono warnings

0.6.0-stable
Justin Clarke Casey 2008-10-19 18:45:41 +00:00
parent 3b381523eb
commit 923f9fb749
3 changed files with 3 additions and 2 deletions

View File

@ -304,7 +304,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_socket.BeginReceiveFrom( m_socket.BeginReceiveFrom(
RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref reusedEpSender, ReceivedData, null); RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref reusedEpSender, ReceivedData, null);
} }
catch (SocketException e) catch (SocketException)
{ {
// We don't need to see this error, reset connection and get next UDP packet off the buffer // We don't need to see this error, reset connection and get next UDP packet off the buffer
// If the UDP packet is part of the same stream, this will happen several hundreds of times before // If the UDP packet is part of the same stream, this will happen several hundreds of times before

View File

@ -154,6 +154,7 @@ namespace OpenSim.Region.Environment.Modules
//m_scene.RegionInfo.RegionSettings.SunVector = Position; //m_scene.RegionInfo.RegionSettings.SunVector = Position;
//m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime(); //m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime();
} }
public void ForceWindUpdateToAllClients() public void ForceWindUpdateToAllClients()
{ {
GenWindPos(); // Generate shared values once GenWindPos(); // Generate shared values once

View File

@ -1659,7 +1659,7 @@ namespace PrimMesher
public Coord SurfaceNormal(int faceIndex) public Coord SurfaceNormal(int faceIndex)
{ {
int numFaces = faces.Count; //int numFaces = faces.Count;
if (faceIndex < 0 || faceIndex >= faces.Count) if (faceIndex < 0 || faceIndex >= faces.Count)
throw new Exception("faceIndex out of range"); throw new Exception("faceIndex out of range");