[vlc-commits] network: fix unused function warning
Rémi Denis-Courmont
git at videolan.org
Sun Apr 14 09:17:57 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 09:53:18 2019 +0300| [4cc4b8eb1f309a88c60baa4fe9eaad3da30d0293] | committer: Rémi Denis-Courmont
network: fix unused function warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4cc4b8eb1f309a88c60baa4fe9eaad3da30d0293
---
src/network/udp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/network/udp.c b/src/network/udp.c
index c1cbd89643..cf4d2b5c9c 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -291,6 +291,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family,
}
+#ifdef MCAST_JOIN_GROUP
static unsigned var_GetIfIndex (vlc_object_t *obj)
{
char *ifname = var_InheritString (obj, "miface");
@@ -303,6 +304,7 @@ static unsigned var_GetIfIndex (vlc_object_t *obj)
free (ifname);
return ifindex;
}
+#endif
/**
More information about the vlc-commits
mailing list