From cdb1851f438349a8721c0d9cef54837d0b302189 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 4 Jun 2019 00:50:59 +1000 Subject: Warnings-- --- OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 2 +- OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | 2 +- OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs | 2 +- OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/PhysicsModules') diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs index 2a1ae45..29685da 100644 --- a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs +++ b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs @@ -163,7 +163,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics { // Console.WriteLine("Simulating"); - float fps = 0; +// float fps = 0; for (int i = 0; i < _actors.Count; ++i) { BasicActor actor = _actors[i]; diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs index d182c34..6b32bf8 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs @@ -56,7 +56,7 @@ public sealed class BSCharacter : BSPhysObject private float _buoyancy; private OMV.Vector3 _size; - private float _footOffset; + private float _footOffset = 0; private BSActorAvatarMove m_moveActor; private const string AvatarMoveActorName = "BSCharacter.AvatarMove"; diff --git a/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs b/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs index bfa95c1..a6f587e 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs @@ -51,7 +51,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS.Tests BSScene _physicsScene { get; set; } BSPrim _targetSphere { get; set; } Vector3 _targetSpherePosition { get; set; } - float _simulationTimeStep = 0.089f; +// float _simulationTimeStep = 0.089f; uint _targetLocalID = 123; diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs index 49559bf..99c43b4 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs @@ -1383,7 +1383,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing { File.Delete(filename); } - catch (IOException e) + catch (IOException) { m_log.ErrorFormat( "[MESH CACHE]: Failed to delete file {0}",filename); @@ -1596,7 +1596,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing return false; } - return false; +// return false; } } } -- cgit v1.1