mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
sdp: Remove an unused variable.
This commit is contained in:
parent
a9c405f5fa
commit
e69c3a4f70
1 changed files with 1 additions and 2 deletions
|
@ -329,14 +329,13 @@ is_multicast_address (const gchar * host_name, guint * family)
|
||||||
struct addrinfo *ai;
|
struct addrinfo *ai;
|
||||||
struct addrinfo *res;
|
struct addrinfo *res;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
int err;
|
|
||||||
|
|
||||||
memset (&hints, 0, sizeof (hints));
|
memset (&hints, 0, sizeof (hints));
|
||||||
hints.ai_socktype = SOCK_DGRAM;
|
hints.ai_socktype = SOCK_DGRAM;
|
||||||
|
|
||||||
g_return_val_if_fail (host_name, FALSE);
|
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;
|
return FALSE;
|
||||||
|
|
||||||
for (ai = res; !ret && ai; ai = ai->ai_next) {
|
for (ai = res; !ret && ai; ai = ai->ai_next) {
|
||||||
|
|
Loading…
Reference in a new issue