mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
* Removed 12 compiler warnings.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user