* 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 oversight0.6.5-rc1
parent
8f1844665b
commit
4571a8b3fb
|
@ -155,25 +155,25 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
|
||||||
if (mapName.Contains(":"))
|
if (mapName.Contains(":"))
|
||||||
{
|
{
|
||||||
string host = "127.0.0.1";
|
string host = "127.0.0.1";
|
||||||
string portstr;
|
//string portstr;
|
||||||
string regionName = "";
|
//string regionName = "";
|
||||||
uint port = 9000;
|
uint port = 9000;
|
||||||
string[] parts = mapName.Split(new char[] { ':' });
|
string[] parts = mapName.Split(new char[] { ':' });
|
||||||
if (parts.Length >= 1)
|
if (parts.Length >= 1)
|
||||||
{
|
{
|
||||||
host = parts[0];
|
host = parts[0];
|
||||||
}
|
}
|
||||||
if (parts.Length >= 2)
|
// if (parts.Length >= 2)
|
||||||
{
|
// {
|
||||||
portstr = parts[1];
|
// portstr = parts[1];
|
||||||
if (!UInt32.TryParse(portstr, out port))
|
// if (!UInt32.TryParse(portstr, out port))
|
||||||
regionName = parts[1];
|
// regionName = parts[1];
|
||||||
}
|
// }
|
||||||
// always take the last one
|
// always take the last one
|
||||||
if (parts.Length >= 3)
|
// if (parts.Length >= 3)
|
||||||
{
|
// {
|
||||||
regionName = parts[2];
|
// regionName = parts[2];
|
||||||
}
|
// }
|
||||||
regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port);
|
regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue