mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* minor: remove mono compiler warnings
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user