aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Hypergrid
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-19 21:16:02 +0000
committerJustin Clarke Casey2009-03-19 21:16:02 +0000
commit4571a8b3fb138c399a3f1308d9f88cf1fd38f034 (patch)
tree7babb51d5bb07d2e8e53dbfb06a0a8afc25fa7c3 /OpenSim/Region/Framework/Scenes/Hypergrid
parent* Group OpenSim.Framework.Servers interfaces together (diff)
downloadopensim-SC_OLD-4571a8b3fb138c399a3f1308d9f88cf1fd38f034.zip
opensim-SC_OLD-4571a8b3fb138c399a3f1308d9f88cf1fd38f034.tar.gz
opensim-SC_OLD-4571a8b3fb138c399a3f1308d9f88cf1fd38f034.tar.bz2
opensim-SC_OLD-4571a8b3fb138c399a3f1308d9f88cf1fd38f034.tar.xz
* 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
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Hypergrid')
-rw-r--r--OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs24
1 files changed, 12 insertions, 12 deletions
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
155 if (mapName.Contains(":")) 155 if (mapName.Contains(":"))
156 { 156 {
157 string host = "127.0.0.1"; 157 string host = "127.0.0.1";
158 string portstr; 158 //string portstr;
159 string regionName = ""; 159 //string regionName = "";
160 uint port = 9000; 160 uint port = 9000;
161 string[] parts = mapName.Split(new char[] { ':' }); 161 string[] parts = mapName.Split(new char[] { ':' });
162 if (parts.Length >= 1) 162 if (parts.Length >= 1)
163 { 163 {
164 host = parts[0]; 164 host = parts[0];
165 } 165 }
166 if (parts.Length >= 2) 166// if (parts.Length >= 2)
167 { 167// {
168 portstr = parts[1]; 168// portstr = parts[1];
169 if (!UInt32.TryParse(portstr, out port)) 169// if (!UInt32.TryParse(portstr, out port))
170 regionName = parts[1]; 170// regionName = parts[1];
171 } 171// }
172 // always take the last one 172 // always take the last one
173 if (parts.Length >= 3) 173// if (parts.Length >= 3)
174 { 174// {
175 regionName = parts[2]; 175// regionName = parts[2];
176 } 176// }
177 regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port); 177 regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port);
178 } 178 }
179 else 179 else