aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ClientManager.cs3
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs2
2 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs
index 1bb9836..cdccf0e 100644
--- a/OpenSim/Framework/ClientManager.cs
+++ b/OpenSim/Framework/ClientManager.cs
@@ -49,8 +49,7 @@ namespace OpenSim.Framework
49 49
50 public void ForEachClient(ForEachClientDelegate whatToDo) 50 public void ForEachClient(ForEachClientDelegate whatToDo)
51 { 51 {
52 // Wasteful, I know 52 IClientAPI[] LocalClients;
53 IClientAPI[] LocalClients = new IClientAPI[0];
54 lock (m_clients) 53 lock (m_clients)
55 { 54 {
56 LocalClients = new IClientAPI[m_clients.Count]; 55 LocalClients = new IClientAPI[m_clients.Count];
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index c569a71..b4ee069 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -166,7 +166,7 @@ namespace OpenSim.Framework.Communications
166 } 166 }
167 else if (requestData.Contains("web_login_key")) 167 else if (requestData.Contains("web_login_key"))
168 { 168 {
169 UUID webloginkey = UUID.Zero; 169 UUID webloginkey;
170 try 170 try
171 { 171 {
172 webloginkey = new UUID((string)requestData["web_login_key"]); 172 webloginkey = new UUID((string)requestData["web_login_key"]);