diff options
Diffstat (limited to '')
7 files changed, 6 insertions, 17 deletions
diff --git a/OpenSim/Framework/Monitoring/Stats/Stat.cs b/OpenSim/Framework/Monitoring/Stats/Stat.cs index 2402acd..4b1a229 100644 --- a/OpenSim/Framework/Monitoring/Stats/Stat.cs +++ b/OpenSim/Framework/Monitoring/Stats/Stat.cs | |||
@@ -242,11 +242,7 @@ namespace OpenSim.Framework.Monitoring | |||
242 | public virtual OSDMap ToBriefOSDMap() | 242 | public virtual OSDMap ToBriefOSDMap() |
243 | { | 243 | { |
244 | OSDMap ret = new OSDMap(); | 244 | OSDMap ret = new OSDMap(); |
245 | |||
246 | ret.Add("Value", OSD.FromReal(Value)); | 245 | ret.Add("Value", OSD.FromReal(Value)); |
247 | |||
248 | double lastChangeOverTime, averageChangeOverTime; | ||
249 | |||
250 | return ret; | 246 | return ret; |
251 | } | 247 | } |
252 | 248 | ||
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 7093010..ae8b784 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -2675,7 +2675,7 @@ namespace OpenSim.Framework | |||
2675 | 2675 | ||
2676 | callback(o); | 2676 | callback(o); |
2677 | } | 2677 | } |
2678 | catch (ThreadAbortException e) | 2678 | catch (ThreadAbortException) |
2679 | { | 2679 | { |
2680 | } | 2680 | } |
2681 | catch (Exception e) | 2681 | catch (Exception e) |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 6f5775a..daa40c4 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -503,7 +503,6 @@ namespace OpenSim.Region.ClientStack.Linden | |||
503 | errorResponse.state = "error"; | 503 | errorResponse.state = "error"; |
504 | errorResponse.error = resperror; | 504 | errorResponse.error = resperror; |
505 | return errorResponse; | 505 | return errorResponse; |
506 | break; | ||
507 | case FileAgentInventoryState.waitUpload: | 506 | case FileAgentInventoryState.waitUpload: |
508 | // todo stop current uploader server | 507 | // todo stop current uploader server |
509 | break; | 508 | break; |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 2ff6ced..ee7df5a 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -335,7 +335,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
335 | private readonly byte[] m_channelVersion = Utils.EmptyBytes; | 335 | private readonly byte[] m_channelVersion = Utils.EmptyBytes; |
336 | private readonly IGroupsModule m_GroupsModule; | 336 | private readonly IGroupsModule m_GroupsModule; |
337 | 337 | ||
338 | private int m_cachedTextureSerial; | 338 | // private int m_cachedTextureSerial; |
339 | private PriorityQueue m_entityUpdates; | 339 | private PriorityQueue m_entityUpdates; |
340 | private PriorityQueue m_entityProps; | 340 | private PriorityQueue m_entityProps; |
341 | private Prioritizer m_prioritizer; | 341 | private Prioritizer m_prioritizer; |
@@ -11039,9 +11039,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11039 | if(muteListRequest.MuteData.MuteCRC == 0) | 11039 | if(muteListRequest.MuteData.MuteCRC == 0) |
11040 | SendEmpytMuteList(); | 11040 | SendEmpytMuteList(); |
11041 | else | 11041 | else |
11042 | SendUseCachedMuteList(); | 11042 | SendUseCachedMuteList(); |
11043 | } | 11043 | } |
11044 | return true; | 11044 | return true; |
11045 | } | 11045 | } |
11046 | 11046 | ||
11047 | private bool HandleUpdateMuteListEntry(IClientAPI client, Packet Packet) | 11047 | private bool HandleUpdateMuteListEntry(IClientAPI client, Packet Packet) |
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 9f52a14..39443c3 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -306,7 +306,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
306 | m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing any attachments for {0} from simulator-side", sp.Name); | 306 | m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing any attachments for {0} from simulator-side", sp.Name); |
307 | 307 | ||
308 | XmlDocument doc = new XmlDocument(); | 308 | XmlDocument doc = new XmlDocument(); |
309 | doc.XmlResolver=null; | ||
310 | string stateData = String.Empty; | 309 | string stateData = String.Empty; |
311 | 310 | ||
312 | IAttachmentsService attServ = m_scene.RequestModuleInterface<IAttachmentsService>(); | 311 | IAttachmentsService attServ = m_scene.RequestModuleInterface<IAttachmentsService>(); |
@@ -369,11 +368,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
369 | { | 368 | { |
370 | string xmlData; | 369 | string xmlData; |
371 | XmlDocument d = null; | 370 | XmlDocument d = null; |
372 | UUID asset; | 371 | |
373 | if (itemData.TryGetValue(attach.ItemID, out xmlData)) | 372 | if (itemData.TryGetValue(attach.ItemID, out xmlData)) |
374 | { | 373 | { |
375 | d = new XmlDocument(); | 374 | d = new XmlDocument(); |
376 | d.XmlResolver=null; | ||
377 | d.LoadXml(xmlData); | 375 | d.LoadXml(xmlData); |
378 | m_log.InfoFormat("[ATTACHMENT]: Found saved state for item {0}, loading it", attach.ItemID); | 376 | m_log.InfoFormat("[ATTACHMENT]: Found saved state for item {0}, loading it", attach.ItemID); |
379 | } | 377 | } |
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs index 1e418df..f454908 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -196,8 +196,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
196 | 196 | ||
197 | public void SendSimOnlineNotification(ulong regionHandle) | 197 | public void SendSimOnlineNotification(ulong regionHandle) |
198 | { | 198 | { |
199 | RegionInfo Result = null; | ||
200 | |||
201 | Scene s = m_localScenes.FindValue(delegate(Scene x) | 199 | Scene s = m_localScenes.FindValue(delegate(Scene x) |
202 | { | 200 | { |
203 | if (x.RegionInfo.RegionHandle == regionHandle) | 201 | if (x.RegionInfo.RegionHandle == regionHandle) |
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs index b694270..dddec86 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | |||
@@ -1589,14 +1589,12 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1589 | f = new Face(k,l,m); | 1589 | f = new Face(k,l,m); |
1590 | newfaces.Add(f); | 1590 | newfaces.Add(f); |
1591 | } | 1591 | } |
1592 | return true; | ||
1593 | } | 1592 | } |
1594 | catch | 1593 | catch |
1595 | { | 1594 | { |
1596 | |||
1597 | return false; | 1595 | return false; |
1598 | } | 1596 | } |
1599 | return false; | 1597 | return true; |
1600 | } | 1598 | } |
1601 | } | 1599 | } |
1602 | } | 1600 | } |