Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkay committed Feb 4, 2012
1 parent a05e549 commit cc31574
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
Expand Up @@ -8,8 +8,6 @@ public class ConnectionManagerClient
{ {
readonly Client client; readonly Client client;


public event EventHandler<DiscoveryEventArgs<ConnectionManager>> ConnectionManagerAdded;

public ConnectionManagerClient () : this (new Client ()) public ConnectionManagerClient () : this (new Client ())
{ {
} }
Expand Down
Expand Up @@ -10,8 +10,6 @@ public class ContentDirectoryClient : IDisposable
{ {
readonly Client client; readonly Client client;


public event EventHandler<DiscoveryEventArgs<LocalContentDirectory>> ContentDirectoryAdded;

public ContentDirectoryClient () public ContentDirectoryClient ()
: this (null) : this (null)
{ {
Expand Down
Expand Up @@ -118,7 +118,7 @@ protected override Deserializer CreateDeserializer ()
try { try {
Uri uri = new Uri (url); Uri uri = new Uri (url);
return uri; return uri;
} catch (Exception e) { } catch {
} }
} }
return null; return null;
Expand Down Expand Up @@ -435,7 +435,7 @@ static Deserializer CreateAttributeDeserializer (Type type)
try { try {
Uri uri = new Uri (url); Uri uri = new Uri (url);
return uri; return uri;
} catch (Exception e) { } catch {
} }
} }
return null; return null;
Expand Down
2 changes: 1 addition & 1 deletion tests/Mono.Ssdp.Tests/ServerTests.cs
Expand Up @@ -39,7 +39,7 @@ public class ServerTests
const string address = "239.255.255.250"; const string address = "239.255.255.250";
const int port = 1900; const int port = 1900;
static readonly IPAddress ipaddress = IPAddress.Parse (address); static readonly IPAddress ipaddress = IPAddress.Parse (address);
static readonly IPEndPoint ip_endpoint = new IPEndPoint (ipaddress, port); //static readonly IPEndPoint ip_endpoint = new IPEndPoint (ipaddress, port);
static EndPoint endpoint = new IPEndPoint (IPAddress.Any, port); static EndPoint endpoint = new IPEndPoint (IPAddress.Any, port);


readonly object mutex = new object (); readonly object mutex = new object ();
Expand Down

0 comments on commit cc31574

Please sign in to comment.