aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorAdam Frisby2007-12-18 08:41:23 +0000
committerAdam Frisby2007-12-18 08:41:23 +0000
commit7948033565a106395eb10ae3e169c9c4fa6cbdba (patch)
treee56441fb7d8544932fd3b1763f636852b1e868ae /OpenSim/Region/Environment/Modules
parent* Renamed AgentWearable to AvatarWearable (diff)
downloadopensim-SC-7948033565a106395eb10ae3e169c9c4fa6cbdba.zip
opensim-SC-7948033565a106395eb10ae3e169c9c4fa6cbdba.tar.gz
opensim-SC-7948033565a106395eb10ae3e169c9c4fa6cbdba.tar.bz2
opensim-SC-7948033565a106395eb10ae3e169c9c4fa6cbdba.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/XMLRPCModule.cs4
2 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs
index dc4ef35..d47004b 100644
--- a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs
@@ -342,7 +342,7 @@ namespace OpenSim.Region.Environment.Modules
342 { 342 {
343 httpThread.Abort(); 343 httpThread.Abort();
344 } 344 }
345 catch (Exception e) { } 345 catch (Exception) { }
346 } 346 }
347 } 347 }
348 348
diff --git a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
index f139d64..f13b2bb 100644
--- a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
+++ b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
@@ -100,11 +100,9 @@ namespace OpenSim.Region.Environment.Modules
100 { 100 {
101 try 101 try
102 { 102 {
103
104 m_remoteDataPort = config.Configs["Network"].GetInt("remoteDataPort", m_remoteDataPort); 103 m_remoteDataPort = config.Configs["Network"].GetInt("remoteDataPort", m_remoteDataPort);
105
106 } 104 }
107 catch (Exception e) 105 catch (Exception)
108 { 106 {
109 } 107 }
110 108