mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
cleaning out warnings.
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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<string> m_Scrollback = new List<string>();
|
||||
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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -48,7 +48,8 @@ namespace OpenSim.Framework.Servers.Tests
|
||||
{
|
||||
TestHelper.InMethod();
|
||||
|
||||
CachedGetAssetStreamHandler handler = new CachedGetAssetStreamHandler(null);
|
||||
// CachedGetAssetStreamHandler handler =
|
||||
new CachedGetAssetStreamHandler(null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -49,7 +49,8 @@ namespace OpenSim.Framework.Servers.Tests
|
||||
{
|
||||
TestHelper.InMethod();
|
||||
|
||||
GetAssetStreamHandler handler = new GetAssetStreamHandler( null );
|
||||
// GetAssetStreamHandler handler =
|
||||
new GetAssetStreamHandler( null );
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user