* 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.
This commit is contained in:
Adam Frisby
2007-12-18 08:41:23 +00:00
parent 03635aa336
commit 7948033565
5 changed files with 4 additions and 16 deletions

View File

@@ -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";