mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
* Removed a bunch of compiler warnings.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user