aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-03 18:52:20 +0000
committerJustin Clark-Casey (justincc)2009-11-03 18:52:20 +0000
commit1d737b010cb39d8fcc0794eae9be90634382e51c (patch)
treef5880d54ec504c288a4106bd2c606fd2d8a670fd /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parentBump required Mono version in README up to 2.4.2 (diff)
downloadopensim-SC_OLD-1d737b010cb39d8fcc0794eae9be90634382e51c.zip
opensim-SC_OLD-1d737b010cb39d8fcc0794eae9be90634382e51c.tar.gz
opensim-SC_OLD-1d737b010cb39d8fcc0794eae9be90634382e51c.tar.bz2
opensim-SC_OLD-1d737b010cb39d8fcc0794eae9be90634382e51c.tar.xz
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 2f42646..73ad15e 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -3519,7 +3519,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3519 public override void UnCombine(PhysicsScene pScene) 3519 public override void UnCombine(PhysicsScene pScene)
3520 { 3520 {
3521 IntPtr localGround = IntPtr.Zero; 3521 IntPtr localGround = IntPtr.Zero;
3522 float[] localHeightfield; 3522// float[] localHeightfield;
3523 bool proceed = false; 3523 bool proceed = false;
3524 List<IntPtr> geomDestroyList = new List<IntPtr>(); 3524 List<IntPtr> geomDestroyList = new List<IntPtr>();
3525 3525
@@ -3531,7 +3531,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3531 { 3531 {
3532 if (geom == localGround) 3532 if (geom == localGround)
3533 { 3533 {
3534 localHeightfield = TerrainHeightFieldHeights[geom]; 3534// localHeightfield = TerrainHeightFieldHeights[geom];
3535 proceed = true; 3535 proceed = true;
3536 } 3536 }
3537 else 3537 else
@@ -3553,7 +3553,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3553 // memory corruption 3553 // memory corruption
3554 if (TerrainHeightFieldHeights.ContainsKey(g)) 3554 if (TerrainHeightFieldHeights.ContainsKey(g))
3555 { 3555 {
3556 float[] removingHeightField = TerrainHeightFieldHeights[g]; 3556// float[] removingHeightField = TerrainHeightFieldHeights[g];
3557 TerrainHeightFieldHeights.Remove(g); 3557 TerrainHeightFieldHeights.Remove(g);
3558 3558
3559 if (RegionTerrain.ContainsKey(g)) 3559 if (RegionTerrain.ContainsKey(g))