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 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') 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) -- cgit v1.1