REFACTOR: Heuristically unreachable code.

This commit is contained in:
2017-12-21 17:17:13 +00:00
parent b9ec685b4e
commit ccd9930884
4 changed files with 1 additions and 13 deletions

View File

@@ -60,12 +60,6 @@ namespace DiscImageChef.Server.Controllers
Stats newStats = new Stats();
HttpRequest request = HttpContext.Current.Request;
if(request.InputStream == null)
{
response.Content = new StringContent("notstats", Encoding.UTF8, "text/plain");
return response;
}
XmlSerializer xs = new XmlSerializer(newStats.GetType());
newStats = (Stats)xs.Deserialize(request.InputStream);