diff options
author | Justin Clark-Casey (justincc) | 2014-10-09 01:07:49 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-11-25 23:21:37 +0000 |
commit | 0d77796584df0c041ef9893e52111f8572561145 (patch) | |
tree | 2f3075bf33a39d1136b830fcfb3be18b729825f2 /OpenSim | |
parent | Remove compiler warning from UserProfilesHandlers (diff) | |
download | opensim-SC_OLD-0d77796584df0c041ef9893e52111f8572561145.zip opensim-SC_OLD-0d77796584df0c041ef9893e52111f8572561145.tar.gz opensim-SC_OLD-0d77796584df0c041ef9893e52111f8572561145.tar.bz2 opensim-SC_OLD-0d77796584df0c041ef9893e52111f8572561145.tar.xz |
minor: resolve warnings from unused fields in XBakesGet and Post handlers
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Handlers/BakedTextures/XBakesGetHandler.cs | 2 | ||||
-rw-r--r-- | 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 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 | |||
45 | { | 45 | { |
46 | public class BakesServerGetHandler : BaseStreamHandler | 46 | public class BakesServerGetHandler : BaseStreamHandler |
47 | { | 47 | { |
48 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 48 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
49 | 49 | ||
50 | private IBakedTextureService m_BakesService; | 50 | private IBakedTextureService m_BakesService; |
51 | private System.Text.UTF8Encoding utf8 = | 51 | 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 | |||
45 | { | 45 | { |
46 | public class BakesServerPostHandler : BaseStreamHandler | 46 | public class BakesServerPostHandler : BaseStreamHandler |
47 | { | 47 | { |
48 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 48 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
49 | 49 | ||
50 | private IBakedTextureService m_BakesService; | 50 | private IBakedTextureService m_BakesService; |
51 | 51 | ||
52 | private System.Text.UTF8Encoding utf8 = | ||
53 | new System.Text.UTF8Encoding(); | ||
54 | |||
55 | public BakesServerPostHandler(IBakedTextureService service, IServiceAuth auth) : | 52 | public BakesServerPostHandler(IBakedTextureService service, IServiceAuth auth) : |
56 | base("POST", "/bakes", auth) | 53 | base("POST", "/bakes", auth) |
57 | { | 54 | { |
@@ -76,4 +73,4 @@ namespace OpenSim.Server.Handlers.BakedTextures | |||
76 | return new byte[0]; | 73 | return new byte[0]; |
77 | } | 74 | } |
78 | } | 75 | } |
79 | } | 76 | } \ No newline at end of file |