From fc2c73d5c661cc28a037fd9217e8071159ff031f Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 6 Mar 2009 21:00:15 +0000 Subject: * minor: remove some mono compiler warnings --- OpenSim/Client/Linden/LLStandaloneLoginModule.cs | 2 +- OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 4 ++-- OpenSim/Region/Application/ConfigurationLoader.cs | 2 +- OpenSim/Region/Application/OpenSimBase.cs | 2 -- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 ++++--- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs index 686a621..11bb2c4 100644 --- a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs +++ b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs @@ -46,7 +46,7 @@ namespace OpenSim.Client.Linden { public class LLStandaloneLoginModule : IRegionModule, ILoginServiceToRegionsConnector { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); protected List m_scenes = new List(); protected Scene m_firstScene; diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 6f82478..383ae07 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs @@ -66,7 +66,7 @@ namespace OpenSim.Client.MXP.ClientStack private readonly string m_lastName; private Vector3 m_startPosition=new Vector3(128f, 128f, 128f); - private int m_debugLevel; + //private int m_debugLevel; #endregion #region Properties @@ -704,7 +704,7 @@ namespace OpenSim.Client.MXP.ClientStack public void SetDebugPacketLevel(int newDebug) { - m_debugLevel = newDebug; + //m_debugLevel = newDebug; } public void InPacket(object NewPack) diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 799d7df..ac65e82 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs @@ -63,7 +63,7 @@ namespace OpenSim string masterfilePath = Path.Combine(Util.configDir(), masterFileName); string iniDirName = startupConfig.GetString("inidirectory", "config"); - string iniDirPath = Path.Combine(Util.configDir(), iniDirName); + //string iniDirPath = Path.Combine(Util.configDir(), iniDirName); m_config = new OpenSimConfigSource(); m_config.Source = new IniConfigSource(); diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 790dcb4..32b1258 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -188,8 +188,6 @@ namespace OpenSim m_stats = StatsManager.StartCollectingSimExtraStats(); - LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_configSettings.LibrariesXMLFile); - // Create a ModuleLoader instance m_moduleLoader = new ModuleLoader(m_config.Source); diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 67f6c29..7db9c07 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -98,7 +98,7 @@ namespace OpenSim.Region.Framework.Scenes private bool m_startAnimationSet = false; - private Vector3 m_requestedSitOffset = new Vector3(); + //private Vector3 m_requestedSitOffset = new Vector3(); private Vector3 m_LastFinitePos = new Vector3(); @@ -1663,7 +1663,7 @@ namespace OpenSim.Region.Framework.Scenes m_nextSitAnimation = part.SitAnimation; } m_requestedSitTargetID = part.LocalId; - m_requestedSitOffset = offset; + //m_requestedSitOffset = offset; } else { @@ -1693,12 +1693,13 @@ namespace OpenSim.Region.Framework.Scenes if (part != null) { m_requestedSitTargetID = part.LocalId; - m_requestedSitOffset = offset; + //m_requestedSitOffset = offset; } else { m_log.Warn("Sit requested on unknown object: " + targetID.ToString()); } + SendSitResponse(remoteClient, targetID, offset); } -- cgit v1.1