From 9fa8d8459838848354d703a37666983f19a06ca0 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 21 Jul 2014 10:25:47 +0300 Subject: [PATCH] Eliminated some warnings --- .../Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 1 - .../Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs | 2 +- OpenSim/Services/MapImageService/MapImageService.cs | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 238aff47f4..e9e81f5d90 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs @@ -546,7 +546,6 @@ namespace OpenSim.Region.ClientStack.Linden if (texture_list.Count > 0) { ScenePresence avatar = null; - IClientAPI client = null; m_Scene.TryGetScenePresence(m_HostCapsObj.AgentID, out avatar); if (avatar != null) diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs index 388de7f675..b476e329bd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs @@ -48,7 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests private string m_testDir; private CSharpCodeProvider m_CSCodeProvider; private CompilerParameters m_compilerParameters; - private CompilerResults m_compilerResults; + // private CompilerResults m_compilerResults; private ResolveEventHandler m_resolveEventHandler; /// diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs index 0e425f8cd4..c07e034c95 100644 --- a/OpenSim/Services/MapImageService/MapImageService.cs +++ b/OpenSim/Services/MapImageService/MapImageService.cs @@ -54,7 +54,9 @@ namespace OpenSim.Services.MapImageService private static readonly ILog m_log = LogManager.GetLogger( MethodBase.GetCurrentMethod().DeclaringType); +#pragma warning disable 414 private string LogHeader = "[MAP IMAGE SERVICE]"; +#pragma warning restore 414 private const int ZOOM_LEVELS = 8; private const int IMAGE_WIDTH = 256;