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:
Dr Scofield
2009-05-22 14:57:00 +00:00
parent 912be7a2ac
commit 1d02636c27
27 changed files with 210 additions and 215 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -48,7 +48,8 @@ namespace OpenSim.Framework.Servers.Tests
{
TestHelper.InMethod();
CachedGetAssetStreamHandler handler = new CachedGetAssetStreamHandler(null);
// CachedGetAssetStreamHandler handler =
new CachedGetAssetStreamHandler(null);
}
[Test]

View File

@@ -49,7 +49,8 @@ namespace OpenSim.Framework.Servers.Tests
{
TestHelper.InMethod();
GetAssetStreamHandler handler = new GetAssetStreamHandler( null );
// GetAssetStreamHandler handler =
new GetAssetStreamHandler( null );
}
[Test]