mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +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 *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) {
|
||||
|
|
Loading…
Reference in a new issue