From cb6baacc31d4caab22ec28eb83461194e33c9cc9 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 12 Jun 2009 14:29:42 +0000 Subject: * minor: remove one mono warning --- .../Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | 2 +- .../Region/CoreModules/World/Archiver/ArchiveWriteRequestExecution.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs index 8c3d993..14eb9a2 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 ccbf570..ac5d067 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(); -- cgit v1.1