From 1d02636c27de64f8acec5bb9a76f8659f0bfdd2b Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 22 May 2009 14:57:00 +0000 Subject: cleaning out warnings. NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that? --- OpenSim/Framework/Communications/Capabilities/Caps.cs | 2 +- OpenSim/Framework/Console/LocalConsole.cs | 2 +- OpenSim/Framework/Console/RemoteConsole.cs | 8 ++++---- OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs | 2 +- OpenSim/Framework/Servers/GetAssetStreamHandler.cs | 2 +- .../Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs | 3 ++- .../Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs | 3 ++- OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs | 3 ++- 8 files changed, 14 insertions(+), 11 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 27395e3..9c59c89 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs @@ -89,7 +89,7 @@ namespace OpenSim.Framework.Communications.Capabilities //private static readonly string m_requestTexture = "0003/"; private static readonly string m_notecardUpdatePath = "0004/"; private static readonly string m_notecardTaskUpdatePath = "0005/"; - private static readonly string m_fetchInventoryPath = "0006/"; + // private static readonly string m_fetchInventoryPath = "0006/"; // The following entries are in a module, however, they are also here so that we don't re-assign // the path to another cap by mistake. diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs index 4d768b9..c1ac9b3 100644 --- a/OpenSim/Framework/Console/LocalConsole.cs +++ b/OpenSim/Framework/Console/LocalConsole.cs @@ -42,7 +42,7 @@ namespace OpenSim.Framework.Console { // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - private readonly object m_syncRoot = new object(); + // private readonly object m_syncRoot = new object(); private int y = -1; private int cp = 0; diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index 544a072..5a57a3c 100644 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs @@ -43,8 +43,8 @@ namespace OpenSim.Framework.Console { // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - private IHttpServer m_Server = null; - private IConfigSource m_Config = null; + // private IHttpServer m_Server = null; + // private IConfigSource m_Config = null; private List m_Scrollback = new List(); private ManualResetEvent m_DataEvent = new ManualResetEvent(false); @@ -57,12 +57,12 @@ namespace OpenSim.Framework.Console public void ReadConfig(IConfigSource config) { - m_Config = config; + // m_Config = config; } public void SetServer(IHttpServer server) { - m_Server = server; + // m_Server = server; } public override void Output(string text, string level) diff --git a/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs b/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs index ef637c5..adddf27 100644 --- a/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs +++ b/OpenSim/Framework/Servers/CachedGetAssetStreamHandler.cs @@ -33,7 +33,7 @@ namespace OpenSim.Framework.Servers { public class CachedGetAssetStreamHandler : BaseGetAssetStreamHandler { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private readonly IAssetCache m_assetProvider; diff --git a/OpenSim/Framework/Servers/GetAssetStreamHandler.cs b/OpenSim/Framework/Servers/GetAssetStreamHandler.cs index a262e97..bc046cf 100644 --- a/OpenSim/Framework/Servers/GetAssetStreamHandler.cs +++ b/OpenSim/Framework/Servers/GetAssetStreamHandler.cs @@ -45,7 +45,7 @@ namespace OpenSim.Framework.Servers { public class GetAssetStreamHandler : BaseGetAssetStreamHandler { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private readonly IAssetDataPlugin m_assetProvider; diff --git a/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs b/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs index 97c609c..29f66e6 100644 --- a/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs +++ b/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs @@ -48,7 +48,8 @@ namespace OpenSim.Framework.Servers.HttpServer.Tests [Test] public void TestConstructor() { - BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl( null, null ); + // BaseRequestHandlerImpl handler = + new BaseRequestHandlerImpl( null, null ); } [Test] diff --git a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs index b782a55..bc0b0b6 100644 --- a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs @@ -48,7 +48,8 @@ namespace OpenSim.Framework.Servers.Tests { TestHelper.InMethod(); - CachedGetAssetStreamHandler handler = new CachedGetAssetStreamHandler(null); + // CachedGetAssetStreamHandler handler = + new CachedGetAssetStreamHandler(null); } [Test] diff --git a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs index a9b7d3c..7a05f93 100644 --- a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs @@ -49,7 +49,8 @@ namespace OpenSim.Framework.Servers.Tests { TestHelper.InMethod(); - GetAssetStreamHandler handler = new GetAssetStreamHandler( null ); + // GetAssetStreamHandler handler = + new GetAssetStreamHandler( null ); } [Test] -- cgit v1.1