diff options
author | Justin Clarke Casey | 2008-09-21 20:56:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-21 20:56:39 +0000 |
commit | 451bd5a0ca87987759d82df681b66da499d41191 (patch) | |
tree | d7eb0c0c4ddb835bb76317c6891e12c60c8ef864 /OpenSim/ApplicationPlugins | |
parent | Mantis#2233. Thank you kindly, Idb, for a patch that solves: (diff) | |
download | opensim-SC-451bd5a0ca87987759d82df681b66da499d41191.zip opensim-SC-451bd5a0ca87987759d82df681b66da499d41191.tar.gz opensim-SC-451bd5a0ca87987759d82df681b66da499d41191.tar.bz2 opensim-SC-451bd5a0ca87987759d82df681b66da499d41191.tar.xz |
* minor: warnings removal
Diffstat (limited to 'OpenSim/ApplicationPlugins')
3 files changed, 17 insertions, 17 deletions
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/ComponentLoader.cs b/OpenSim/ApplicationPlugins/ScriptEngine/ComponentLoader.cs index 0aa0525..d2e3cd0 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/ComponentLoader.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/ComponentLoader.cs | |||
@@ -40,10 +40,10 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
40 | internal class ComponentLoader | 40 | internal class ComponentLoader |
41 | { | 41 | { |
42 | internal static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 42 | internal static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
43 | private ScriptEnginePlugin scriptEnginePlugin; | 43 | //private ScriptEnginePlugin scriptEnginePlugin; |
44 | public ComponentLoader(ScriptEnginePlugin sep) | 44 | public ComponentLoader(ScriptEnginePlugin sep) |
45 | { | 45 | { |
46 | scriptEnginePlugin = sep; | 46 | //scriptEnginePlugin = sep; |
47 | } | 47 | } |
48 | 48 | ||
49 | /// <summary> | 49 | /// <summary> |
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEngineBase.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEngineBase.cs index e2731d7..89a90ae 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEngineBase.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEngineBase.cs | |||
@@ -171,7 +171,7 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
171 | { | 171 | { |
172 | p.Close(); | 172 | p.Close(); |
173 | } | 173 | } |
174 | catch (Exception ex) | 174 | catch (Exception) |
175 | { | 175 | { |
176 | // TODO: Print error to console | 176 | // TODO: Print error to console |
177 | } | 177 | } |
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs index d530147..e6def85 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | |||
@@ -46,20 +46,20 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
46 | return; | 46 | return; |
47 | // New region is being created | 47 | // New region is being created |
48 | // Create a new script engine | 48 | // Create a new script engine |
49 | try | 49 | // try |
50 | { | 50 | // { |
51 | lock (ComponentRegistry.scriptEngines) | 51 | // lock (ComponentRegistry.scriptEngines) |
52 | { | 52 | // { |
53 | scriptEngine = | 53 | // scriptEngine = |
54 | Activator.CreateInstance(ComponentRegistry.scriptEngines[tempScriptEngineName]) as | 54 | // Activator.CreateInstance(ComponentRegistry.scriptEngines[tempScriptEngineName]) as |
55 | RegionScriptEngineBase; | 55 | // RegionScriptEngineBase; |
56 | } | 56 | // } |
57 | scriptEngine.Initialize(scene, source); | 57 | // scriptEngine.Initialize(scene, source); |
58 | } | 58 | // } |
59 | catch (Exception ex) | 59 | // catch (Exception ex) |
60 | { | 60 | // { |
61 | scriptEngine.m_log.Error("[ScriptEngine]: Unable to load engine \"" + tempScriptEngineName + "\": " + ex.ToString()); | 61 | // scriptEngine.m_log.Error("[ScriptEngine]: Unable to load engine \"" + tempScriptEngineName + "\": " + ex.ToString()); |
62 | } | 62 | // } |
63 | } | 63 | } |
64 | 64 | ||
65 | public void PostInitialise() | 65 | public void PostInitialise() |