From a7556af7debeaa9d760a2402083e9aa42291a3af Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 25 Mar 2008 03:37:48 +0000 Subject: Fix a few compiler warnings. --- OpenSim/Region/Environment/Modules/LandManagement/LandChannel.cs | 2 +- OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs | 2 -- OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/LandManagement/LandChannel.cs b/OpenSim/Region/Environment/Modules/LandManagement/LandChannel.cs index d95e4b1..ba5a098 100644 --- a/OpenSim/Region/Environment/Modules/LandManagement/LandChannel.cs +++ b/OpenSim/Region/Environment/Modules/LandManagement/LandChannel.cs @@ -595,7 +595,7 @@ namespace OpenSim.Region.Environment.Modules.LandManagement byteArray = new byte[LAND_BLOCKS_PER_PACKET]; } } - catch (Exception e) + catch (Exception) { //m_log.Debug("[LAND]: Skipped Land checks because avatar is out of bounds: " + e.Message); } diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs index ee18523..e136397 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs @@ -39,8 +39,6 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders /// class Terragen : ITerrainLoader { - private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); - #region ITerrainLoader Members public ITerrainChannel LoadFile(string filename) diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index bc777e2..abbcd7c 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs @@ -522,9 +522,6 @@ namespace OpenSim.Region.Physics.BulletXPlugin { actor.Move(timeStep); } - foreach (BulletXPrim prim in _prims.Values) - { - } } private void ValidateHeightForAll() -- cgit v1.1