* minor: Remove most mono compiler warnings

This commit is contained in:
Justin Clarke Casey
2009-02-25 20:53:02 +00:00
parent a5c9354df3
commit 36e648a37a
18 changed files with 26 additions and 23 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
{

View File

@@ -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);

View File

@@ -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()

View File

@@ -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.";