From cb6baacc31d4caab22ec28eb83461194e33c9cc9 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 12 Jun 2009 14:29:42 +0000 Subject: [PATCH] * minor: remove one mono warning --- .../Scripting/DynamicTexture/DynamicTextureModule.cs | 2 +- .../CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs index 8c3d99399f..14eb9a27b2 100644 --- a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs @@ -352,7 +352,7 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture texface.TextureID = asset.FullID; tmptex.FaceTextures[Face] = texface; } - catch(Exception e) + catch (Exception) { tmptex.DefaultTexture.TextureID = asset.FullID; } diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs index ccbf5703ab..ac5d0678ac 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs @@ -162,7 +162,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver xtw.WriteEndElement(); xtw.WriteEndElement(); - xtw.Flush(); xtw.Close();