From c519b80680d8ca5d0b98736af6b9029768697a3a Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 24 Oct 2008 21:40:05 +0000 Subject: * minor: eliminate some mono compiler warnings --- OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | 4 ++-- OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 2 +- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs index 8d9c8b2..148e03f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs @@ -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; diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index 819e4e8..620e33f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs @@ -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(); diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 2a019ca..bec1495 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs @@ -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"); -- cgit v1.1