sdp: Remove an unused variable.

This commit is contained in:
Peter Kjellerstedt 2009-06-01 09:43:04 +02:00
parent a9c405f5fa
commit e69c3a4f70

View file

@ -329,14 +329,13 @@ is_multicast_address (const gchar * host_name, guint * family)
struct addrinfo *ai;
struct addrinfo *res;
gboolean ret = FALSE;
int err;
memset (&hints, 0, sizeof (hints));
hints.ai_socktype = SOCK_DGRAM;
g_return_val_if_fail (host_name, FALSE);
if ((err = getaddrinfo (host_name, NULL, &hints, &res)) < 0)
if (getaddrinfo (host_name, NULL, &hints, &res) < 0)
return FALSE;
for (ai = res; !ret && ai; ai = ai->ai_next) {