From 4571a8b3fb138c399a3f1308d9f88cf1fd38f034 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 19 Mar 2009 21:16:02 +0000 Subject: * Remove compiler warnings * These have actually been removed from HGHyperLink.TryUnlinkRegion, because some parameters were parsed but never used. * This might be a situation where the warnings have shown up an oversight --- .../Framework/Scenes/Hypergrid/HGHyperlink.cs | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs index e05b001..00f43a8 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs @@ -155,25 +155,25 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid if (mapName.Contains(":")) { string host = "127.0.0.1"; - string portstr; - string regionName = ""; + //string portstr; + //string regionName = ""; uint port = 9000; string[] parts = mapName.Split(new char[] { ':' }); if (parts.Length >= 1) { host = parts[0]; } - if (parts.Length >= 2) - { - portstr = parts[1]; - if (!UInt32.TryParse(portstr, out port)) - regionName = parts[1]; - } +// if (parts.Length >= 2) +// { +// portstr = parts[1]; +// if (!UInt32.TryParse(portstr, out port)) +// regionName = parts[1]; +// } // always take the last one - if (parts.Length >= 3) - { - regionName = parts[2]; - } +// if (parts.Length >= 3) +// { +// regionName = parts[2]; +// } regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port); } else -- cgit v1.1