Eliminated some warnings

bullet-2.82
Oren Hurvitz 2014-07-21 10:25:47 +03:00
parent 99ac770abb
commit 9fa8d84598
3 changed files with 3 additions and 2 deletions

View File

@ -546,7 +546,6 @@ namespace OpenSim.Region.ClientStack.Linden
if (texture_list.Count > 0) if (texture_list.Count > 0)
{ {
ScenePresence avatar = null; ScenePresence avatar = null;
IClientAPI client = null;
m_Scene.TryGetScenePresence(m_HostCapsObj.AgentID, out avatar); m_Scene.TryGetScenePresence(m_HostCapsObj.AgentID, out avatar);
if (avatar != null) if (avatar != null)

View File

@ -48,7 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests
private string m_testDir; private string m_testDir;
private CSharpCodeProvider m_CSCodeProvider; private CSharpCodeProvider m_CSCodeProvider;
private CompilerParameters m_compilerParameters; private CompilerParameters m_compilerParameters;
private CompilerResults m_compilerResults; // private CompilerResults m_compilerResults;
private ResolveEventHandler m_resolveEventHandler; private ResolveEventHandler m_resolveEventHandler;
/// <summary> /// <summary>

View File

@ -54,7 +54,9 @@ namespace OpenSim.Services.MapImageService
private static readonly ILog m_log = private static readonly ILog m_log =
LogManager.GetLogger( LogManager.GetLogger(
MethodBase.GetCurrentMethod().DeclaringType); MethodBase.GetCurrentMethod().DeclaringType);
#pragma warning disable 414
private string LogHeader = "[MAP IMAGE SERVICE]"; private string LogHeader = "[MAP IMAGE SERVICE]";
#pragma warning restore 414
private const int ZOOM_LEVELS = 8; private const int ZOOM_LEVELS = 8;
private const int IMAGE_WIDTH = 256; private const int IMAGE_WIDTH = 256;