diff options
| author | hawken <hawken@thehawken.org> | 2019-01-24 18:56:43 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-01-24 18:56:43 +0100 |
| commit | 3701ce40375fc13987174f843b61b2d757d4a11f (patch) | |
| tree | e00bf09e648844ad4b8d6c8c5823995ae8a64775 /Mono.Nat | |
| parent | b2ffad9ce946544d87e285fd200c089b47bfb323 (diff) | |
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
Diffstat (limited to 'Mono.Nat')
| -rw-r--r-- | Mono.Nat/Upnp/Searchers/UpnpSearcher.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs b/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs index b70768b6f..3b54c4680 100644 --- a/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs +++ b/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs @@ -47,7 +47,6 @@ namespace Mono.Nat { public event EventHandler<DeviceEventArgs> DeviceFound; - private DateTime nextSearch; private readonly ILogger _logger; private readonly IHttpClient _httpClient; @@ -98,11 +97,6 @@ namespace Mono.Nat { } - public DateTime NextSearch - { - get { return nextSearch; } - } - private void OnDeviceFound(DeviceEventArgs args) { if (DeviceFound != null) |
