From 3e4550adf797a65c9a65d17ec760ec48d5604d84 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 9 Oct 2014 01:07:49 +0100 Subject: [PATCH] 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(-) diff --git a/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs b/OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs index 9e703f17de..3c6167384f 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 1aacbc982c..e38543b41c 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