diff options
| author | Bond_009 <bond.009@outlook.com> | 2018-12-15 19:53:09 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2018-12-16 00:49:18 +0100 |
| commit | 22093c9e8fe15691cca79795acc2616a8b7ec4ff (patch) | |
| tree | 56b40f8dd4d23ae244a7fc787affbe1ac817e899 /RSSDP | |
| parent | 336a4a2b8d728c32bd22404dfa16f1a80a3e9b15 (diff) | |
Removed some warnings
Diffstat (limited to 'RSSDP')
| -rw-r--r-- | RSSDP/DiscoveredSsdpDevice.cs | 4 | ||||
| -rw-r--r-- | RSSDP/SsdpDeviceLocator.cs | 4 | ||||
| -rw-r--r-- | RSSDP/SsdpDevicePublisher.cs | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/RSSDP/DiscoveredSsdpDevice.cs b/RSSDP/DiscoveredSsdpDevice.cs index 66b8bea36..7e70817dd 100644 --- a/RSSDP/DiscoveredSsdpDevice.cs +++ b/RSSDP/DiscoveredSsdpDevice.cs @@ -17,7 +17,6 @@ namespace Rssdp #region Fields - private SsdpRootDevice _Device; private DateTimeOffset _AsAt; #endregion @@ -55,7 +54,6 @@ namespace Rssdp if (_AsAt != value) { _AsAt = value; - _Device = null; } } } @@ -93,4 +91,4 @@ namespace Rssdp #endregion } -}
\ No newline at end of file +} diff --git a/RSSDP/SsdpDeviceLocator.cs b/RSSDP/SsdpDeviceLocator.cs index 6a61a52f3..32289822f 100644 --- a/RSSDP/SsdpDeviceLocator.cs +++ b/RSSDP/SsdpDeviceLocator.cs @@ -124,7 +124,7 @@ namespace Rssdp.Infrastructure { await SearchAsync(CancellationToken.None).ConfigureAwait(false); } - catch (Exception ex) + catch (Exception) { } @@ -621,4 +621,4 @@ namespace Rssdp.Infrastructure #endregion } -}
\ No newline at end of file +} diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.cs index 8d57deb5e..2646023e8 100644 --- a/RSSDP/SsdpDevicePublisher.cs +++ b/RSSDP/SsdpDevicePublisher.cs @@ -312,7 +312,7 @@ namespace Rssdp.Infrastructure { await _CommsServer.SendMessage(System.Text.Encoding.UTF8.GetBytes(message), endPoint, receivedOnlocalIpAddress, cancellationToken).ConfigureAwait(false); } - catch (Exception ex) + catch (Exception) { } @@ -558,4 +558,4 @@ namespace Rssdp.Infrastructure } } } -}
\ No newline at end of file +} |
