diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index 8199598900..c3dcc9020e 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -118,7 +118,7 @@ namespace OpenSim.Framework.Communications bool GoodXML = (requestData.Contains("first") && requestData.Contains("last") && (requestData.Contains("passwd") || requestData.Contains("web_login_key"))); - bool GoodLogin; + //bool GoodLogin; string startLocationRequest = "last"; diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs index 5433e4197c..d05a1d1500 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs @@ -527,10 +527,10 @@ namespace OpenSim.Region.Communications.Hypergrid public bool InformRegionOfUser(RegionInfo regInfo, AgentCircuitData agentData) { - ulong regionHandle = regInfo.RegionHandle; + //ulong regionHandle = regInfo.RegionHandle; try { - regionHandle = Convert.ToUInt64(regInfo.regionSecret); + //regionHandle = Convert.ToUInt64(regInfo.regionSecret); m_log.Info("[HGrid]: InformRegionOfUser: Remote hyperlinked region " + regInfo.regionSecret); } catch @@ -883,7 +883,7 @@ namespace OpenSim.Region.Communications.Hypergrid if (regInfo == null) return false; - ulong realHandle = regionHandle; + //ulong realHandle = regionHandle; CachedUserInfo uinfo = m_userProfileCache.GetUserDetails(agentData.AgentID); if ((uinfo == null) || !IsGoingHome(uinfo, regInfo)) diff --git a/OpenSim/Region/Communications/Hypergrid/HGInventoryService.cs b/OpenSim/Region/Communications/Hypergrid/HGInventoryService.cs index 9ef040b475..136fea1373 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGInventoryService.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGInventoryService.cs @@ -46,7 +46,7 @@ namespace OpenSim.Region.Communications.Hypergrid = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private string _inventoryServerUrl; - private Uri m_Uri; + //private Uri m_Uri; private UserProfileCacheService m_userProfileCache; private bool m_gridmode = false; @@ -61,7 +61,7 @@ namespace OpenSim.Region.Communications.Hypergrid public HGInventoryService(string inventoryServerUrl, UserProfileCacheService userProfileCacheService, bool gridmode) { _inventoryServerUrl = HGNetworkServersInfo.ServerURI(inventoryServerUrl); - m_Uri = new Uri(_inventoryServerUrl); + //m_Uri = new Uri(_inventoryServerUrl); m_userProfileCache = userProfileCacheService; m_gridmode = gridmode; } diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index d9b44a180e..0ac39e9ea3 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs @@ -47,14 +47,14 @@ namespace OpenSim.Region.Communications.Hypergrid /// public class HGUserServices : IUserService, IAvatarService, IMessagingService { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - private HGCommunicationsGridMode m_parent; + //private HGCommunicationsGridMode m_parent; private OGS1UserServices m_remoteUserServices; public HGUserServices(HGCommunicationsGridMode parent) { - m_parent = parent; + //m_parent = parent; m_remoteUserServices = new OGS1UserServices(parent); } diff --git a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs index cfcda428f3..192904cd3c 100644 --- a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs +++ b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs @@ -53,7 +53,7 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid private static bool enabled = false; Scene m_scene; - AssetService m_assetService; + //AssetService m_assetService; #region IRegionModule interface @@ -75,7 +75,8 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid { m_log.Info("[HGStandaloneAssetService]: Starting..."); - m_assetService = new AssetService(m_scene); + //m_assetService = new AssetService(m_scene); + new AssetService(m_scene); } } diff --git a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneInventoryService.cs b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneInventoryService.cs index 7203b88193..7eeece9e10 100644 --- a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneInventoryService.cs +++ b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneInventoryService.cs @@ -52,7 +52,7 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid private static bool enabled = false; Scene m_scene; - InventoryService m_inventoryService; + //InventoryService m_inventoryService; #region IRegionModule interface @@ -73,7 +73,8 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid if (enabled) { m_log.Info("[HGStandaloneInvService]: Starting..."); - m_inventoryService = new InventoryService(m_scene); + //m_inventoryService = new InventoryService(m_scene); + new InventoryService(m_scene); } } diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs index 3e27b7c98f..1715ffe4bc 100644 --- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs +++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGAssetMapper.cs @@ -262,7 +262,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid private Dictionary SniffUUIDs(UUID assetID) { - Dictionary uuids = new Dictionary(); + //Dictionary uuids = new Dictionary(); AssetBase asset; m_scene.CommsManager.AssetCache.TryGetCachedAsset(assetID, out asset);