Remove some mono compiler warnings
parent
a4551b027b
commit
1926de5a05
|
@ -42,7 +42,7 @@ namespace OpenSim.Framework.Serialization.External
|
|||
/// </summary>
|
||||
public class LandDataSerializer
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected static UTF8Encoding m_utf8Encoding = new UTF8Encoding();
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace OpenSim.Framework.Serialization.External
|
|||
/// </summary>
|
||||
public class UserInventoryItemSerializer
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private static Dictionary<string, Action<InventoryItemBase, XmlTextReader>> m_InventoryItemXmlProcessors
|
||||
= new Dictionary<string, Action<InventoryItemBase, XmlTextReader>>();
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
|
|||
public class BasicPhysicsPrim : PhysicsActor
|
||||
{
|
||||
private Vector3 _size;
|
||||
private PrimitiveBaseShape _shape;
|
||||
// private PrimitiveBaseShape _shape;
|
||||
|
||||
public BasicPhysicsPrim(
|
||||
string name, uint localId, Vector3 position, Vector3 size, Quaternion orientation, PrimitiveBaseShape shape)
|
||||
|
@ -136,7 +136,8 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
|
|||
|
||||
public override PrimitiveBaseShape Shape
|
||||
{
|
||||
set { _shape = value; }
|
||||
// set { _shape = value; }
|
||||
set {}
|
||||
}
|
||||
|
||||
public override float Mass
|
||||
|
|
|
@ -40,9 +40,7 @@ namespace OpenSim.Server.Base
|
|||
{
|
||||
public class HttpServerBase : ServicesServerBase
|
||||
{
|
||||
// Logger
|
||||
//
|
||||
private static readonly ILog m_Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private uint m_consolePort;
|
||||
|
||||
|
|
|
@ -370,8 +370,6 @@ namespace OpenSim.Services.HypergridService
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check that the service token was generated for *this* grid.
|
||||
|
|
|
@ -276,19 +276,19 @@ namespace OpenSim.Services.HypergridService
|
|||
}
|
||||
}
|
||||
|
||||
// Lastly, let's notify the rest who may be online somewhere else
|
||||
foreach (string user in usersToBeNotified)
|
||||
{
|
||||
UUID id = new UUID(user);
|
||||
//m_UserAgentService.LocateUser(id);
|
||||
//etc...
|
||||
//if (m_TravelingAgents.ContainsKey(id) && m_TravelingAgents[id].GridExternalName != m_GridName)
|
||||
//{
|
||||
// string url = m_TravelingAgents[id].GridExternalName;
|
||||
// // forward
|
||||
//}
|
||||
//m_log.WarnFormat("[HGFRIENDS SERVICE]: User {0} is visiting another grid. HG Status notifications still not implemented.", user);
|
||||
}
|
||||
// // Lastly, let's notify the rest who may be online somewhere else
|
||||
// foreach (string user in usersToBeNotified)
|
||||
// {
|
||||
// UUID id = new UUID(user);
|
||||
// //m_UserAgentService.LocateUser(id);
|
||||
// //etc...
|
||||
// //if (m_TravelingAgents.ContainsKey(id) && m_TravelingAgents[id].GridExternalName != m_GridName)
|
||||
// //{
|
||||
// // string url = m_TravelingAgents[id].GridExternalName;
|
||||
// // // forward
|
||||
// //}
|
||||
// //m_log.WarnFormat("[HGFRIENDS SERVICE]: User {0} is visiting another grid. HG Status notifications still not implemented.", user);
|
||||
// }
|
||||
|
||||
// and finally, let's send the online friends
|
||||
if (online)
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace OpenSim.Services.HypergridService
|
|||
private string m_HomeURL;
|
||||
private IUserAccountService m_UserAccountService;
|
||||
|
||||
private UserAccountCache m_Cache;
|
||||
// private UserAccountCache m_Cache;
|
||||
|
||||
private ExpiringCache<UUID, List<XInventoryFolder>> m_SuitcaseTrees = new ExpiringCache<UUID, List<XInventoryFolder>>();
|
||||
|
||||
|
@ -92,7 +92,7 @@ namespace OpenSim.Services.HypergridService
|
|||
// Preferred
|
||||
m_HomeURL = invConfig.GetString("HomeURI", m_HomeURL);
|
||||
|
||||
m_Cache = UserAccountCache.CreateUserAccountCache(m_UserAccountService);
|
||||
// m_Cache = UserAccountCache.CreateUserAccountCache(m_UserAccountService);
|
||||
}
|
||||
|
||||
m_log.Debug("[HG SUITCASE INVENTORY SERVICE]: Starting...");
|
||||
|
|
Loading…
Reference in New Issue