aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorAdam Frisby2008-03-03 09:54:39 +0000
committerAdam Frisby2008-03-03 09:54:39 +0000
commit415fc22e5ea326dd104563044533d14d08612f5c (patch)
tree13345d2565757ca0358b4894c51b7c2f6e293e8b /OpenSim/Region/ScriptEngine
parent* Fixed about Text in the profile in grid mode. (diff)
downloadopensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.zip
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.gz
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.bz2
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.xz
* Removed a bunch of compiler warnings.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs2
5 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 78d3a3f..32c6414 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3494,7 +3494,6 @@ namespace OpenSim.Region.ScriptEngine.Common
3494 3494
3495 int number = 0; 3495 int number = 0;
3496 int digit; 3496 int digit;
3497 int baddigit = 0;
3498 3497
3499 m_host.AddScriptLPS(1); 3498 m_host.AddScriptLPS(1);
3500 3499
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index f3e57c4..ca2136b 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -616,7 +616,7 @@ namespace OpenSim.Region.ScriptEngine.Common
616 { 616 {
617 list j = this; 617 list j = this;
618 j.NumericSort(); 618 j.NumericSort();
619 double ret; 619
620 if (Math.Ceiling(this.Length * i) == this.Length * i) 620 if (Math.Ceiling(this.Length * i) == this.Length * i)
621 { 621 {
622 return (double)((double)j.Data[(int)(this.Length * i - 1)] + (double)j.Data[(int)(this.Length * i)]) / 2; 622 return (double)((double)j.Data[(int)(this.Length * i - 1)] + (double)j.Data[(int)(this.Length * i)]) / 2;
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
index 825686b..c3f6168 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
@@ -245,7 +245,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
245 { 245 {
246 threadClass.Stop(); 246 threadClass.Stop();
247 } 247 }
248 catch (Exception ex) 248 catch (Exception)
249 { 249 {
250 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: If you see this, could you please report it to Tedd:"); 250 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: If you see this, could you please report it to Tedd:");
251 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: Script thread execution timeout kill ended in exception: " + ex.ToString()); 251 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + ":EventQueueManager]: Script thread execution timeout kill ended in exception: " + ex.ToString());
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
index 3a237da..ebb4795 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
@@ -169,7 +169,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
169 DoProcessQueue(); 169 DoProcessQueue();
170 } 170 }
171 } 171 }
172 catch (ThreadAbortException tae) 172 catch (ThreadAbortException)
173 { 173 {
174 if (lastScriptEngine != null) 174 if (lastScriptEngine != null)
175 lastScriptEngine.Log.Info("[" + ScriptEngineName + "]: ThreadAbortException while executing function."); 175 lastScriptEngine.Log.Info("[" + ScriptEngineName + "]: ThreadAbortException while executing function.");
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs
index 0fcabab..78ebecd 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs
@@ -116,7 +116,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
116 MaintenanceThreadThread.Abort(); 116 MaintenanceThreadThread.Abort();
117 } 117 }
118 } 118 }
119 catch (Exception ex) 119 catch (Exception)
120 { 120 {
121 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + "]: Exception stopping maintenence thread: " + ex.ToString()); 121 //m_ScriptEngine.Log.Error("[" + m_ScriptEngine.ScriptEngineName + "]: Exception stopping maintenence thread: " + ex.ToString());
122 } 122 }