[vlc-devel] commit: network/rootwrap.c: Unused args fix. (Pierre d'Herbemont )

git version control git at videolan.org
Mon Mar 3 17:59:35 CET 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Mon Mar  3 17:58:50 2008 +0100| [86fffb2fe82da640baf36664069bc33e172c55d4]

network/rootwrap.c: Unused args fix.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86fffb2fe82da640baf36664069bc33e172c55d4
---

 src/network/rootwrap.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/network/rootwrap.c b/src/network/rootwrap.c
index 08db802..039b7b7 100644
--- a/src/network/rootwrap.c
+++ b/src/network/rootwrap.c
@@ -442,6 +442,11 @@ void rootwrap (void)
 int rootwrap_bind (int family, int socktype, int protocol,
                    const struct sockaddr *addr, size_t alen)
 {
+    VLC_UNUSED(family);
+    VLC_UNUSED(socktype);
+    VLC_UNUSED(protocol);
+    VLC_UNUSED(addr);
+    VLC_UNUSED(alen);
     return -1;
 }
 




More information about the vlc-devel mailing list