From 3701ce40375fc13987174f843b61b2d757d4a11f Mon Sep 17 00:00:00 2001 From: hawken Date: Thu, 24 Jan 2019 18:56:43 +0100 Subject: Eliminate some compile warnings (#600) * Remove some unused variables * remove duplicate "using .." by sorting and deduping the list * Remove things that already exist in the parent class (in one case I moved some documentation to the parent) * EntityBodyData and and NextSearch were never set (only read), removed * _timeout was never read, subsequently _timer became unused. part of a TODO timeout functionality that was not implemented yet --- SocketHttpListener/HttpResponse.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'SocketHttpListener/HttpResponse.cs') diff --git a/SocketHttpListener/HttpResponse.cs b/SocketHttpListener/HttpResponse.cs index bcfa4a906..d5d9b4a1c 100644 --- a/SocketHttpListener/HttpResponse.cs +++ b/SocketHttpListener/HttpResponse.cs @@ -115,10 +115,6 @@ namespace SocketHttpListener output.Append(CrLf); - var entity = EntityBody; - if (entity.Length > 0) - output.Append(entity); - return output.ToString(); } -- cgit v1.2.3