From 36e648a37aac3d169dbf28ce14c75f488da8a11e Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Wed, 25 Feb 2009 20:53:02 +0000
Subject: * minor: Remove most mono compiler warnings
---
OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 5 +++--
OpenSim/Region/Communications/Hypergrid/HGGridServicesGridMode.cs | 2 +-
OpenSim/Region/Communications/Hypergrid/HGGridServicesStandalone.cs | 2 +-
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 ++--
OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 2 +-
OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 2 +-
6 files changed, 9 insertions(+), 8 deletions(-)
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index 4270222..58777ab 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -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
diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServicesGridMode.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServicesGridMode.cs
index 85fb4b7..2434d92 100644
--- a/OpenSim/Region/Communications/Hypergrid/HGGridServicesGridMode.cs
+++ b/OpenSim/Region/Communications/Hypergrid/HGGridServicesGridMode.cs
@@ -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);
///
/// Encapsulate remote backend services for manipulation of grid regions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServicesStandalone.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServicesStandalone.cs
index 36d4b99..aa2a275 100644
--- a/OpenSim/Region/Communications/Hypergrid/HGGridServicesStandalone.cs
+++ b/OpenSim/Region/Communications/Hypergrid/HGGridServicesStandalone.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Region.Communications.Hypergrid
///
protected LocalBackEndServices m_localBackend = new LocalBackEndServices();
- private Dictionary m_deadRegionCache = new Dictionary();
+ //private Dictionary m_deadRegionCache = new Dictionary();
public LocalBackEndServices LocalBackend
{
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index d2d4acd..45ecdc5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -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("", "");
@@ -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);
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
index 5579848..120eed9 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin
///
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()
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
index 5d5e3c5..041e751 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
@@ -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.";
--
cgit v1.1