From 754f6ba2a2e5a754d7e7a90327997097f30eaf5e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 27 Oct 2008 20:16:42 +0000 Subject: * minor: remove mono compiler warnings --- .../Modules/Avatar/Concierge/ConciergeModule.cs | 18 +++++++++--------- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 +-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs index a8d5a21..52e7439 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs @@ -428,15 +428,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge } } - private static void checkIntegerParams(XmlRpcRequest request, string[] param) - { - Hashtable requestData = (Hashtable) request.Params[0]; - foreach (string p in param) - { - if (!requestData.Contains(p)) - throw new Exception(String.Format("missing integer parameter {0}", p)); - } - } +// private static void checkIntegerParams(XmlRpcRequest request, string[] param) +// { +// Hashtable requestData = (Hashtable) request.Params[0]; +// foreach (string p in param) +// { +// if (!requestData.Contains(p)) +// throw new Exception(String.Format("missing integer parameter {0}", p)); +// } +// } public XmlRpcResponse XmlRpcUpdateWelcomeMethod(XmlRpcRequest request) { diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 3f7d40c..6494cf5 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] @@ -1930,7 +1930,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