mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* minor: remove mono warnings
This commit is contained in:
@@ -304,7 +304,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
m_socket.BeginReceiveFrom(
|
||||
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
|
||||
// If the UDP packet is part of the same stream, this will happen several hundreds of times before
|
||||
|
||||
@@ -154,6 +154,7 @@ namespace OpenSim.Region.Environment.Modules
|
||||
//m_scene.RegionInfo.RegionSettings.SunVector = Position;
|
||||
//m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime();
|
||||
}
|
||||
|
||||
public void ForceWindUpdateToAllClients()
|
||||
{
|
||||
GenWindPos(); // Generate shared values once
|
||||
|
||||
@@ -1659,7 +1659,7 @@ namespace PrimMesher
|
||||
|
||||
public Coord SurfaceNormal(int faceIndex)
|
||||
{
|
||||
int numFaces = faces.Count;
|
||||
//int numFaces = faces.Count;
|
||||
if (faceIndex < 0 || faceIndex >= faces.Count)
|
||||
throw new Exception("faceIndex out of range");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user