From c6dad833f5d90e432cc608e9401fda25db68775c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 6 Nov 2008 21:01:16 +0000 Subject: [PATCH] * minor: remove some mono compiler warnings --- OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs | 1 - OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs | 3 +++ OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs index b5f065d270..91fadba8f4 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs @@ -53,7 +53,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests ChunkSenderTuple tuple = m_chunksToLoad.Dequeue(); reusedEpSender = tuple.Sender; throw new SocketException(); - ReceiveData(null); } } diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs index dd0ca8c971..3576594689 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs @@ -73,6 +73,9 @@ namespace OpenSim.Region.Environment.Scenes.Tests = new Scene(regInfo, acm, cm, scs, null, sm, null, null, false, false, false, configSource, null); SceneObjectGroup sceneObject = new SceneObjectGroup(); + SceneObjectPart part = new SceneObjectPart(); + sceneObject.AddPart(part); + scene.AddNewSceneObject(sceneObject, false); } } diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 72da5cfdef..282bbd5dd7 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs @@ -689,7 +689,7 @@ namespace PrimMesher for (int i = 0; i < numAngles; i++) { - int iNext = i == numAngles ? i + 1 : 0; + //int iNext = i == numAngles ? i + 1 : 0; angle = angles.angles[i]; newVert.X = angle.X * xScale; newVert.Y = angle.Y * yScale;