From 748f72326d9a295958bc9ba63bbb1a5d39030ef7 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 27 Jun 2008 23:03:39 +0000 Subject: last round of warning squashing. calling it a day now. --- OpenSim/Grid/MessagingServer/Main.cs | 2 +- OpenSim/Grid/MessagingServer/MessageService.cs | 12 ++++++------ OpenSim/Grid/MessagingServer/PresenceInformer.cs | 3 ++- OpenSim/Grid/MessagingServer/XMPPHTTPService.cs | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) (limited to 'OpenSim/Grid/MessagingServer') diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs index 91f2101..781b49b 100644 --- a/OpenSim/Grid/MessagingServer/Main.cs +++ b/OpenSim/Grid/MessagingServer/Main.cs @@ -48,7 +48,7 @@ namespace OpenSim.Grid.MessagingServer private MessageServerConfig Cfg; private MessageService msgsvc; - private LLUUID m_lastCreatedUser = LLUUID.Random(); + // private LLUUID m_lastCreatedUser = LLUUID.Random(); [STAThread] public static void Main(string[] args) diff --git a/OpenSim/Grid/MessagingServer/MessageService.cs b/OpenSim/Grid/MessagingServer/MessageService.cs index cec596f..7be62b0 100644 --- a/OpenSim/Grid/MessagingServer/MessageService.cs +++ b/OpenSim/Grid/MessagingServer/MessageService.cs @@ -58,7 +58,7 @@ namespace OpenSim.Grid.MessagingServer private Hashtable m_presence_BackReferences = new Hashtable(); // Hashtable containing work units that need to be processed - private Hashtable m_unProcessedWorkUnits = new Hashtable(); + // private Hashtable m_unProcessedWorkUnits = new Hashtable(); public MessageService(MessageServerConfig cfg) { @@ -588,9 +588,9 @@ namespace OpenSim.Grid.MessagingServer uint regX = Convert.ToUInt32((string)responseData["region_locx"]); uint regY = Convert.ToUInt32((string)responseData["region_locy"]); string internalIpStr = (string)responseData["sim_ip"]; - uint port = Convert.ToUInt32(responseData["sim_port"]); - string externalUri = (string)responseData["sim_uri"]; - string neighbourExternalUri = externalUri; + // uint port = Convert.ToUInt32(responseData["sim_port"]); + // string externalUri = (string)responseData["sim_uri"]; + // string neighbourExternalUri = externalUri; regionProfile = new RegionProfileData(); regionProfile.httpPort = (uint)Convert.ToInt32((string)responseData["http_port"]); @@ -655,7 +655,7 @@ namespace OpenSim.Grid.MessagingServer throw(ex); } Hashtable GridRespData = (Hashtable)UserResp.Value; - Hashtable griddatahash = GridRespData; + // Hashtable griddatahash = GridRespData; // Process Response if (GridRespData.ContainsKey("responsestring")) @@ -704,7 +704,7 @@ namespace OpenSim.Grid.MessagingServer throw (ex); } Hashtable UserRespData = (Hashtable)UserResp.Value; - Hashtable userdatahash = UserRespData; + // Hashtable userdatahash = UserRespData; // Process Response if (UserRespData.ContainsKey("responsestring")) diff --git a/OpenSim/Grid/MessagingServer/PresenceInformer.cs b/OpenSim/Grid/MessagingServer/PresenceInformer.cs index e02aa06..39fcadb 100644 --- a/OpenSim/Grid/MessagingServer/PresenceInformer.cs +++ b/OpenSim/Grid/MessagingServer/PresenceInformer.cs @@ -118,7 +118,8 @@ namespace OpenSim.Grid.MessagingServer try { - XmlRpcResponse RegionResp = RegionReq.Send(whichRegion.httpServerURI, 6000); + // XmlRpcResponse RegionResp = RegionReq.Send(whichRegion.httpServerURI, 6000); + RegionReq.Send(whichRegion.httpServerURI, 6000); } catch (WebException) { diff --git a/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs b/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs index efe077d..13bf290 100644 --- a/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs +++ b/OpenSim/Grid/MessagingServer/XMPPHTTPService.cs @@ -84,7 +84,7 @@ namespace OpenSim.Grid.MessagingServer public class PostXMPPStreamHandler : BaseStreamHandler { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public override byte[] Handle(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) @@ -94,7 +94,7 @@ namespace OpenSim.Grid.MessagingServer LLUUID assetId; if (param.Length > 0) LLUUID.TryParse(param, out assetId); - byte[] txBuffer = new byte[4096]; + // byte[] txBuffer = new byte[4096]; // TODO: Read POST serialize XMPP stanzas -- cgit v1.1