* minor: remove mono compiler warnings
parent
6ec9c2d706
commit
754f6ba2a2
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue