From 7beeaf51f8a97669355b347ec5ddb329df73afc1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 28 Oct 2008 21:47:43 +0000 Subject: * minor: remove mono compiler warnings --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 2 +- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 499b2f8..315ff3c 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -153,7 +153,7 @@ namespace OpenSim.Framework.Servers { sb.Append("ID: " + t.ManagedThreadId + ", Name: " + t.Name + ", DEAD" + Environment.NewLine); } - catch (Exception e) + catch { sb.Append("THREAD ERROR" + Environment.NewLine); } diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 55b8b1b..7245eea 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs @@ -1213,7 +1213,7 @@ namespace PrimMesher Coord lastCutNormal1 = new Coord(); - Coord lastCutNormal2 = new Coord(); + //Coord lastCutNormal2 = new Coord(); float lastV = 1.0f; bool done = false; @@ -1424,7 +1424,7 @@ namespace PrimMesher } lastCutNormal1 = newLayer.cutNormal1; - lastCutNormal2 = newLayer.cutNormal2; + //lastCutNormal2 = newLayer.cutNormal2; lastV = 1.0f - percentOfPath; // calc the step for the next iteration of the loop @@ -1578,7 +1578,7 @@ namespace PrimMesher } Coord lastCutNormal1 = new Coord(); - Coord lastCutNormal2 = new Coord(); + //Coord lastCutNormal2 = new Coord(); float lastV = 1.0f; bool done = false; @@ -1781,7 +1781,7 @@ namespace PrimMesher } lastCutNormal1 = newLayer.cutNormal1; - lastCutNormal2 = newLayer.cutNormal2; + //lastCutNormal2 = newLayer.cutNormal2; lastV = 1.0f - percentOfPath; // calculate terms for next iteration -- cgit v1.1