* Removed a bunch of compiler warnings.

This commit is contained in:
Adam Frisby
2008-03-03 09:54:39 +00:00
parent 794deeeb85
commit 415fc22e5e
11 changed files with 8 additions and 11 deletions

View File

@@ -3494,7 +3494,6 @@ namespace OpenSim.Region.ScriptEngine.Common
int number = 0;
int digit;
int baddigit = 0;
m_host.AddScriptLPS(1);

View File

@@ -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;

View File

@@ -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());

View File

@@ -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.");

View File

@@ -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());
}