* Removing more compiler warnings

afrisby
Adam Frisby 2007-07-19 00:25:40 +00:00
parent 08b04810a8
commit 6cf9d6da21
4 changed files with 1 additions and 6 deletions

View File

@ -117,7 +117,7 @@ namespace OpenSim.Region.Communications.OGS1
uint regY = Convert.ToUInt32(n["y"]); uint regY = Convert.ToUInt32(n["y"]);
if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY)) if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY))
{ {
string externalIpStr = Dns.GetHostByName((string)n["sim_ip"]).AddressList[0].ToString(); string externalIpStr = OpenSim.Framework.Utilities.Util.GetHostFromDNS((string)n["sim_ip"]).ToString();
uint port = Convert.ToUInt32(n["sim_port"]); uint port = Convert.ToUInt32(n["sim_port"]);
string externalUri = (string)n["sim_uri"]; string externalUri = (string)n["sim_uri"];

View File

@ -44,8 +44,6 @@ namespace OpenSim.Region.Environment.Scenes
public bool m_isRootPrim; public bool m_isRootPrim;
public EntityBase m_Parent; public EntityBase m_Parent;
private EventManager m_eventManager;
public event PrimCountTaintedDelegate OnPrimCountTainted; public event PrimCountTaintedDelegate OnPrimCountTainted;
#region Properties #region Properties

View File

@ -343,7 +343,6 @@ using System;
Common.SendToDebug("Last OPCODE was return command. Code chunk execution complete."); Common.SendToDebug("Last OPCODE was return command. Code chunk execution complete.");
return true; return true;
break;
} }
return false; return false;
} }

View File

@ -73,8 +73,6 @@ namespace OpenSim.Region.Scripting
[Obsolete("Unimplemented")] [Obsolete("Unimplemented")]
public void osAddToLandPassList(Key avatar, float hours) public void osAddToLandPassList(Key avatar, float hours)
{ {
int parcelID = 0;
Vector myPosition = Task.Pos; Vector myPosition = Task.Pos;
Land myParcel = World.LandManager.getLandObject(myPosition.X, myPosition.Y); Land myParcel = World.LandManager.getLandObject(myPosition.X, myPosition.Y);