* Removed 12 compiler warnings.

This commit is contained in:
Adam Frisby
2007-12-04 08:18:09 +00:00
parent e820159fb5
commit be7ae3dd3e
11 changed files with 5 additions and 14 deletions

View File

@@ -292,7 +292,6 @@ namespace OpenSim.Region.Environment.Scenes
public EntityIntersection GetClosestIntersectingPrim(Ray hray)
{
// Primitive Ray Tracing
bool gothit = false;
float closestDistance = 280f;
EntityIntersection returnResult = new EntityIntersection();
foreach (EntityBase ent in Entities.Values)
@@ -305,7 +304,6 @@ namespace OpenSim.Region.Environment.Scenes
{
if (result.distance < closestDistance)
{
gothit = true;
closestDistance = result.distance;
returnResult = result;
}

View File

@@ -1068,7 +1068,7 @@ namespace OpenSim.Region.Environment.Scenes
{
avatar.Close();
}
catch (System.NullReferenceException NE)
catch (System.NullReferenceException)
{
//We can safely ignore null reference exceptions. It means the avatar are dead and cleaned up anyway.

View File

@@ -956,7 +956,6 @@ namespace OpenSim.Region.Environment.Scenes
public void UpdatePrimFlags(ushort type, bool inUse, byte[] data)
{
bool hasPrim = false;
bool usePhysics = false;
bool IsTemporary = false;
bool IsPhantom = false;

View File

@@ -54,7 +54,6 @@ namespace OpenSim.Region.Environment.Scenes
private uint m_requestedSitTargetID = 0;
private LLVector3 m_requestedSitOffset = new LLVector3();
private float m_sitAvatarHeight = 2.0f;
private bool m_oldColliding = true;
private bool m_isTyping = false;
private bool m_setAlwaysRun = false;