mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* minor: Remove most mono compiler warnings
This commit is contained in:
@@ -122,11 +122,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
public event PacketStats OnPacketStats;
|
||||
public event PacketDrop OnPacketDrop;
|
||||
|
||||
private SynchronizeClientHandler m_SynchronizeClient = null;
|
||||
|
||||
//private SynchronizeClientHandler m_SynchronizeClient = null;
|
||||
|
||||
public SynchronizeClientHandler SynchronizeClient
|
||||
{
|
||||
set { m_SynchronizeClient = value; }
|
||||
set { /* m_SynchronizeClient = value; */ }
|
||||
}
|
||||
|
||||
// Packet sequencing
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
{
|
||||
public class HGGridServicesGridMode : HGGridServices
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
/// <summary>
|
||||
/// Encapsulate remote backend services for manipulation of grid regions
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
/// </summary>
|
||||
protected LocalBackEndServices m_localBackend = new LocalBackEndServices();
|
||||
|
||||
private Dictionary<ulong, int> m_deadRegionCache = new Dictionary<ulong, int>();
|
||||
//private Dictionary<ulong, int> m_deadRegionCache = new Dictionary<ulong, int>();
|
||||
|
||||
public LocalBackEndServices LocalBackend
|
||||
{
|
||||
|
||||
@@ -426,7 +426,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
throw new Exception("This constructor must specify the xml is in OpenSim's original format");
|
||||
|
||||
//m_log.DebugFormat("[SOG]: Starting deserialization of SOG");
|
||||
int time = System.Environment.TickCount;
|
||||
//int time = System.Environment.TickCount;
|
||||
|
||||
// libomv.types changes UUID to Guid
|
||||
xmlData = xmlData.Replace("<UUID>", "<Guid>");
|
||||
@@ -769,7 +769,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void ToXml2(XmlTextWriter writer)
|
||||
{
|
||||
//m_log.DebugFormat("[SOG]: Starting serialization of SOG {0} to XML2", Name);
|
||||
int time = System.Environment.TickCount;
|
||||
//int time = System.Environment.TickCount;
|
||||
|
||||
writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty);
|
||||
m_rootPart.ToXml(writer);
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin
|
||||
/// </summary>
|
||||
public class PhysXPlugin : IPhysicsPlugin
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private PhysXScene _mScene;
|
||||
|
||||
public PhysXPlugin()
|
||||
|
||||
@@ -622,7 +622,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
||||
fs.Read(data, 0, data.Length);
|
||||
fs.Close();
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
string errtext = String.Empty;
|
||||
errtext += "No compile error. But not able to open file.";
|
||||
|
||||
Reference in New Issue
Block a user