mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
minor: Remove some mono compiler warnings. Uncomment code when it's actually being used.
This commit is contained in:
@@ -309,7 +309,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
private MuteListRequest handlerMuteListRequest;
|
||||
|
||||
private AvatarInterestUpdate handlerAvatarInterestUpdate;
|
||||
//private AvatarInterestUpdate handlerAvatarInterestUpdate;
|
||||
|
||||
private readonly IGroupsModule m_GroupsModule;
|
||||
|
||||
@@ -1107,7 +1107,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
public event MuteListRequest OnMuteListRequest;
|
||||
|
||||
public event AvatarInterestUpdate OnAvatarInterestUpdate;
|
||||
//public event AvatarInterestUpdate OnAvatarInterestUpdate;
|
||||
|
||||
public void ActivateGesture(UUID assetId, UUID gestureId)
|
||||
{
|
||||
@@ -9111,11 +9111,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
Utils.BytesToString(avatarNotesUpdate.Data.Notes));
|
||||
break;
|
||||
|
||||
case PacketType.AvatarInterestsUpdate:
|
||||
AvatarInterestsUpdatePacket avatarInterestUpdate =
|
||||
(AvatarInterestsUpdatePacket)Pack;
|
||||
|
||||
break;
|
||||
// case PacketType.AvatarInterestsUpdate:
|
||||
// AvatarInterestsUpdatePacket avatarInterestUpdate =
|
||||
// (AvatarInterestsUpdatePacket)Pack;
|
||||
//
|
||||
// break;
|
||||
|
||||
default:
|
||||
m_log.Warn("[CLIENT]: unhandled packet " + Pack);
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
/// <returns>null if the request fails</returns>
|
||||
public override UserProfileData GetUserProfile(UUID avatarID)
|
||||
{
|
||||
string url = string.Empty;
|
||||
//string url = string.Empty;
|
||||
// Unfortunately we can't query for foreigners here,
|
||||
// because we'll end up in an infinite loop...
|
||||
//if ((m_localUserServices != null) && (!IsForeignUser(avatarID, out url)))
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.XmlRpcRouterModule
|
||||
{
|
||||
public class XmlRpcRouter : IRegionModule, IXmlRpcRouter
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public void Initialise(Scene scene, IConfigSource config)
|
||||
{
|
||||
|
||||
@@ -770,7 +770,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
if (part != null)
|
||||
part.RemoveScriptEvents(itemID);
|
||||
|
||||
bool objectRemoved = false;
|
||||
// bool objectRemoved = false;
|
||||
|
||||
lock (m_PrimObjects)
|
||||
{
|
||||
@@ -785,7 +785,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
if (m_PrimObjects[localID].Count == 0)
|
||||
{
|
||||
m_PrimObjects.Remove(localID);
|
||||
objectRemoved = true;
|
||||
// objectRemoved = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user