From 4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 8 May 2008 05:35:01 +0000 Subject: * You can haz more spring cleaning. * Eventually this codebase will be clean. >_> --- .../Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | 2 +- OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs index 3e9fc65..3320ddb 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs @@ -218,7 +218,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase //} } } - catch(ThreadAbortException ex) + catch(ThreadAbortException) { m_log.Error("Thread aborted in MaintenanceLoopThread. If this is during shutdown, please ignore"); } diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs index 9d1cd6c..da30535 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs @@ -335,10 +335,8 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase ExecutorBase.scriptEvents evflags = Script.Exec.GetStateEventFlags(); return (int)evflags; } - catch (Exception e) + catch (Exception) { - // Console.WriteLine("Failed to get script reference for <" + localID + "," + itemID + ">"); - // Console.WriteLine(e.ToString()); } return 0; -- cgit v1.1