mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
* minor: eliminate some mono compiler warnings
This commit is contained in:
@@ -38,8 +38,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
public class LLPacketServer
|
||||
{
|
||||
private static readonly log4net.ILog m_log
|
||||
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly log4net.ILog m_log
|
||||
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected readonly ILLClientStackNetworkHandler m_networkHandler;
|
||||
protected IScene m_scene;
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
|
||||
|
||||
uint port = 666;
|
||||
testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, acm);
|
||||
LLPacketServer packetServer = new LLPacketServer(testLLUDPServer, userSettings);
|
||||
new LLPacketServer(testLLUDPServer, userSettings);
|
||||
testLLUDPServer.LocalScene = new MockScene();
|
||||
|
||||
UseCircuitCodePacket uccp = new UseCircuitCodePacket();
|
||||
|
||||
@@ -976,7 +976,7 @@ namespace PrimMesher
|
||||
this.faceNormal.Y = -this.faceNormal.Y;
|
||||
this.faceNormal.Z = -this.faceNormal.Z;
|
||||
|
||||
int numUs = this.us.Count;
|
||||
//int numUs = this.us.Count;
|
||||
//for (int i = 0; i < numUs; i++)
|
||||
// this.us[i]
|
||||
|
||||
@@ -1928,7 +1928,6 @@ namespace PrimMesher
|
||||
|
||||
public Coord SurfaceNormal(int faceIndex)
|
||||
{
|
||||
int numFaces = faces.Count;
|
||||
if (faceIndex < 0 || faceIndex >= faces.Count)
|
||||
throw new Exception("faceIndex out of range");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user