mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
minor: remove some mono compiler warnings
This commit is contained in:
@@ -63,11 +63,11 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
|
||||
|
||||
protected static void LoadAsset(AssetBase info, string path)
|
||||
{
|
||||
bool image =
|
||||
(info.Type == (sbyte)AssetType.Texture ||
|
||||
info.Type == (sbyte)AssetType.TextureTGA ||
|
||||
info.Type == (sbyte)AssetType.ImageJPEG ||
|
||||
info.Type == (sbyte)AssetType.ImageTGA);
|
||||
// bool image =
|
||||
// (info.Type == (sbyte)AssetType.Texture ||
|
||||
// info.Type == (sbyte)AssetType.TextureTGA ||
|
||||
// info.Type == (sbyte)AssetType.ImageJPEG ||
|
||||
// info.Type == (sbyte)AssetType.ImageTGA);
|
||||
|
||||
FileInfo fInfo = new FileInfo(path);
|
||||
long numBytes = fInfo.Length;
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace OpenSim.Framework.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.
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||
{
|
||||
public class MessageRegionModule : IMessageRegionLookup
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private MessageServerConfig m_cfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user