From 0d77796584df0c041ef9893e52111f8572561145 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 9 Oct 2014 01:07:49 +0100 Subject: minor: resolve warnings from unused fields in XBakesGet and Post handlers --- OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs | 2 +- OpenSim/Server/Handlers/BakedTextures/XBakesPostHandler.cs | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'OpenSim/Server') diff --git a/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs b/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs index 9e703f1..3c61673 100644 --- a/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs +++ b/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs @@ -45,7 +45,7 @@ namespace OpenSim.Server.Handlers.BakedTextures { public class BakesServerGetHandler : BaseStreamHandler { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private IBakedTextureService m_BakesService; private System.Text.UTF8Encoding utf8 = diff --git a/OpenSim/Server/Handlers/BakedTextures/XBakesPostHandler.cs b/OpenSim/Server/Handlers/BakedTextures/XBakesPostHandler.cs index 1aacbc9..e38543b 100644 --- a/OpenSim/Server/Handlers/BakedTextures/XBakesPostHandler.cs +++ b/OpenSim/Server/Handlers/BakedTextures/XBakesPostHandler.cs @@ -45,13 +45,10 @@ namespace OpenSim.Server.Handlers.BakedTextures { public class BakesServerPostHandler : BaseStreamHandler { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private IBakedTextureService m_BakesService; - private System.Text.UTF8Encoding utf8 = - new System.Text.UTF8Encoding(); - public BakesServerPostHandler(IBakedTextureService service, IServiceAuth auth) : base("POST", "/bakes", auth) { @@ -76,4 +73,4 @@ namespace OpenSim.Server.Handlers.BakedTextures return new byte[0]; } } -} +} \ No newline at end of file -- cgit v1.1