From 8fd0378ae6d7aa7b85bbbd011ab24991f261770a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 14 May 2008 04:06:33 +0000 Subject: * Removed 19 warnings --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 +- .../ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index a2c16b6..4050f36 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -6170,7 +6170,7 @@ namespace OpenSim.Region.ScriptEngine.Common { ScenePresence av = World.GetScenePresence(key); - if (av != null); + if (av != null) { foreach (object o in args.Data) { diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index b08a0fa..3dbd88c 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs @@ -331,7 +331,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase m_host.AbsolutePosition, m_host.Name, m_host.UUID); } - catch (Exception f) + catch (Exception) { //} //else -- cgit v1.1