minor: remove a couple of mono warnings

mysql-performance
Justin Clark-Casey (justincc) 2010-02-03 15:40:59 +00:00
parent b6bee4999c
commit da62344822
2 changed files with 1 additions and 4 deletions

View File

@ -44,8 +44,6 @@ namespace OpenSim.Region.Framework.Scenes
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
static System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
private string m_inventoryFileName = String.Empty; private string m_inventoryFileName = String.Empty;
private int m_inventoryFileNameSerial = 0; private int m_inventoryFileNameSerial = 0;

View File

@ -2783,11 +2783,10 @@ namespace OpenSim.Region.Framework.Scenes
{ {
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying); m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
} }
catch(Exception ex) catch
{ {
m_scene.CrossAgentToNewRegion(this, false); m_scene.CrossAgentToNewRegion(this, false);
} }
} }
public void InTransit() public void InTransit()