aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-02-03 15:40:59 +0000
committerJustin Clark-Casey (justincc)2010-02-03 15:40:59 +0000
commitda62344822524b74b431bf35e682aaf882c44da9 (patch)
treeb908112a030017e69bfa9739c19366823f36f820 /OpenSim/Region/Framework
parentchange position of OnAttach event firing so that this also happens when a use... (diff)
downloadopensim-SC-da62344822524b74b431bf35e682aaf882c44da9.zip
opensim-SC-da62344822524b74b431bf35e682aaf882c44da9.tar.gz
opensim-SC-da62344822524b74b431bf35e682aaf882c44da9.tar.bz2
opensim-SC-da62344822524b74b431bf35e682aaf882c44da9.tar.xz
minor: remove a couple of mono warnings
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
2 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 87c1a95..298ede9 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -44,8 +44,6 @@ namespace OpenSim.Region.Framework.Scenes
44 { 44 {
45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 46
47 static System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
48
49 private string m_inventoryFileName = String.Empty; 47 private string m_inventoryFileName = String.Empty;
50 private int m_inventoryFileNameSerial = 0; 48 private int m_inventoryFileNameSerial = 0;
51 49
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index e26283d..bd59f2e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2783,11 +2783,10 @@ namespace OpenSim.Region.Framework.Scenes
2783 { 2783 {
2784 m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying); 2784 m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
2785 } 2785 }
2786 catch(Exception ex) 2786 catch
2787 { 2787 {
2788 m_scene.CrossAgentToNewRegion(this, false); 2788 m_scene.CrossAgentToNewRegion(this, false);
2789 } 2789 }
2790
2791 } 2790 }
2792 2791
2793 public void InTransit() 2792 public void InTransit()