* minor: eliminate some mono compiler warnings

0.6.0-stable
Justin Clarke Casey 2008-10-24 21:40:05 +00:00
parent 7b224677c1
commit c519b80680
3 changed files with 4 additions and 5 deletions

View File

@ -38,8 +38,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{ {
public class LLPacketServer public class LLPacketServer
{ {
private static readonly log4net.ILog m_log // private static readonly log4net.ILog m_log
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); // = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
protected readonly ILLClientStackNetworkHandler m_networkHandler; protected readonly ILLClientStackNetworkHandler m_networkHandler;
protected IScene m_scene; protected IScene m_scene;

View File

@ -74,7 +74,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
uint port = 666; uint port = 666;
testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, acm); testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, acm);
LLPacketServer packetServer = new LLPacketServer(testLLUDPServer, userSettings); new LLPacketServer(testLLUDPServer, userSettings);
testLLUDPServer.LocalScene = new MockScene(); testLLUDPServer.LocalScene = new MockScene();
UseCircuitCodePacket uccp = new UseCircuitCodePacket(); UseCircuitCodePacket uccp = new UseCircuitCodePacket();

View File

@ -976,7 +976,7 @@ namespace PrimMesher
this.faceNormal.Y = -this.faceNormal.Y; this.faceNormal.Y = -this.faceNormal.Y;
this.faceNormal.Z = -this.faceNormal.Z; this.faceNormal.Z = -this.faceNormal.Z;
int numUs = this.us.Count; //int numUs = this.us.Count;
//for (int i = 0; i < numUs; i++) //for (int i = 0; i < numUs; i++)
// this.us[i] // this.us[i]
@ -1928,7 +1928,6 @@ namespace PrimMesher
public Coord SurfaceNormal(int faceIndex) public Coord SurfaceNormal(int faceIndex)
{ {
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");