aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorUbitUmarov2018-01-17 07:04:07 +0000
committerUbitUmarov2018-01-17 07:04:07 +0000
commite9d2d818804bf0c4894ddee3aa9619cced368dce (patch)
tree412e42abf9e95e6e3cf428addd5fe9bad080dc03 /OpenSim/Region/CoreModules
parentmissed a few (diff)
downloadopensim-SC-e9d2d818804bf0c4894ddee3aa9619cced368dce.zip
opensim-SC-e9d2d818804bf0c4894ddee3aa9619cced368dce.tar.gz
opensim-SC-e9d2d818804bf0c4894ddee3aa9619cced368dce.tar.bz2
opensim-SC-e9d2d818804bf0c4894ddee3aa9619cced368dce.tar.xz
pesty warnings
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs4
1 files changed, 1 insertions, 3 deletions
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 }