diff options
author | Jeff Ames | 2009-02-13 02:52:08 +0000 |
---|---|---|
committer | Jeff Ames | 2009-02-13 02:52:08 +0000 |
commit | 163c1026d15a8f70c649d8d5880cf9fb4abb9a65 (patch) | |
tree | 8654590bb07c88c52f85c319762e4270e130e302 /OpenSim/Region/ScriptEngine/DotNetEngine | |
parent | Add copyright headers. Minor formatting cleanup. Fix some compiler warnings... (diff) | |
download | opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.zip opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.gz opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.bz2 opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.xz |
Fix some compiler warnings. Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs index c0a3c4d..49e87c0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs | |||
@@ -39,7 +39,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
39 | /// </summary> | 39 | /// </summary> |
40 | public class MaintenanceThread | 40 | public class MaintenanceThread |
41 | { | 41 | { |
42 | |||
43 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 42 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
44 | 43 | ||
45 | //public ScriptEngine m_ScriptEngine; | 44 | //public ScriptEngine m_ScriptEngine; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 3de3aad..0c06630 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -505,7 +505,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
505 | return 0; | 505 | return 0; |
506 | } | 506 | } |
507 | 507 | ||
508 | |||
509 | #endregion | 508 | #endregion |
510 | 509 | ||
511 | #region Internal functions to keep track of script | 510 | #region Internal functions to keep track of script |
@@ -591,7 +590,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
591 | StartScript(localID, itemID, script, id.StartParam, false); | 590 | StartScript(localID, itemID, script, id.StartParam, false); |
592 | } | 591 | } |
593 | 592 | ||
594 | |||
595 | #region Script serialization/deserialization | 593 | #region Script serialization/deserialization |
596 | 594 | ||
597 | public void GetSerializedScript(uint localID, UUID itemID) | 595 | public void GetSerializedScript(uint localID, UUID itemID) |
@@ -623,9 +621,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
623 | 621 | ||
624 | public int GetStartParameter(UUID itemID) | 622 | public int GetStartParameter(UUID itemID) |
625 | { | 623 | { |
626 | |||
627 | uint localID = GetLocalID(itemID); | 624 | uint localID = GetLocalID(itemID); |
628 | |||
629 | InstanceData id = GetScript(localID, itemID); | 625 | InstanceData id = GetScript(localID, itemID); |
630 | 626 | ||
631 | if (id == null) | 627 | if (id == null) |