From 7948033565a106395eb10ae3e169c9c4fa6cbdba Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 18 Dec 2007 08:41:23 +0000 Subject: * Removed redundant code in RestService.cs * Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored. * Removed unused variable m_newAvatar * Removed several unused try{}catch(Exception e){}'s. * Added null assignment in simpleapp to prevent warning. --- OpenSim/Region/Examples/SimpleApp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs') diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index a86946e..02108d0 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -46,7 +46,7 @@ namespace SimpleApp internal class Program : RegionApplicationBase, conscmd_callback { private ModuleLoader m_moduleLoader; - private IConfigSource m_config; + private IConfigSource m_config = null; private string m_userPlugin = "OpenSim.Framework.Data.SQLite.dll"; private string m_inventoryPlugin = "OpenSim.Framework.Data.SQLite.dll"; -- cgit v1.1