* Removed a bunch of compiler warnings.
parent
794deeeb85
commit
415fc22e5e
|
@ -67,7 +67,7 @@ namespace OpenSim.Grid.ScriptServer
|
|||
|
||||
// Load DotNetEngine
|
||||
Engine = ScriptEngines.LoadEngine("DotNetEngine");
|
||||
IConfigSource config = null;
|
||||
|
||||
Engine.InitializeEngine(null, null, false, Engine.GetScriptManager());
|
||||
|
||||
|
||||
|
|
|
@ -359,7 +359,7 @@ namespace OpenSim.Region.ClientStack
|
|||
throw (ex);
|
||||
|
||||
// We are looking for alternate ports!
|
||||
m_log.Info("[SERVER]: UDP socket on " + listenIP.ToString() + " " + listenPort.ToString() + " is not available, trying next.");
|
||||
//m_log.Info("[SERVER]: UDP socket on " + listenIP.ToString() + " " + listenPort.ToString() + " is not available, trying next.");
|
||||
}
|
||||
System.Threading.Thread.Sleep(100); // Wait before we retry socket
|
||||
}
|
||||
|
|
|
@ -1255,7 +1255,6 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
m_log.Error("Remoting Error: Unable to connect to adjacent region.\n" + e.ToString());
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -77,7 +77,6 @@ namespace OpenSim.Region.Environment.Modules.Terrain.PaintBrushes
|
|||
int x, y;
|
||||
double[,] tweak = new double[map.Width, map.Height];
|
||||
|
||||
double n, l;
|
||||
double area = strength;
|
||||
double step = strength / 4.0;
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
/// <param name="RemoteClient">Client to send to</param>
|
||||
public virtual void SendLayerData(IClientAPI RemoteClient)
|
||||
{
|
||||
bool usingTerrainModule = false;
|
||||
bool usingTerrainModule = true;
|
||||
|
||||
if (usingTerrainModule)
|
||||
{
|
||||
|
|
|
@ -3494,7 +3494,6 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
|
||||
int number = 0;
|
||||
int digit;
|
||||
int baddigit = 0;
|
||||
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
|
|
|
@ -616,7 +616,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
{
|
||||
list j = this;
|
||||
j.NumericSort();
|
||||
double ret;
|
||||
|
||||
if (Math.Ceiling(this.Length * i) == this.Length * i)
|
||||
{
|
||||
return (double)((double)j.Data[(int)(this.Length * i - 1)] + (double)j.Data[(int)(this.Length * i)]) / 2;
|
||||
|
|
|
@ -245,7 +245,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
{
|
||||
threadClass.Stop();
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
//m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: If you see this, could you please report it to Tedd:");
|
||||
//m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: Script thread execution timeout kill ended in exception: " + ex.ToString());
|
||||
|
|
|
@ -169,7 +169,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
DoProcessQueue();
|
||||
}
|
||||
}
|
||||
catch (ThreadAbortException tae)
|
||||
catch (ThreadAbortException)
|
||||
{
|
||||
if (lastScriptEngine != null)
|
||||
lastScriptEngine.Log.Info("[" + ScriptEngineName + "]: ThreadAbortException while executing function.");
|
||||
|
|
|
@ -116,7 +116,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
MaintenanceThreadThread.Abort();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
//m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + "]: Exception stopping maintenence thread: " + ex.ToString());
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace OpenSim.Tests.Common
|
|||
{
|
||||
d();
|
||||
}
|
||||
catch(ArgumentException e)
|
||||
catch(ArgumentException)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue