[vlc-devel] commit: Use (void) instead of VLC_UNUSED (with pierre agreement) ( Rémi Duraffort )
git version control
git at videolan.org
Mon Mar 3 19:13:43 CET 2008
vlc | branch: master | Rémi Duraffort <ivoire at via.ecp.fr> | Mon Mar 3 19:05:24 2008 +0100| [487b2b1e7439028935350ce5550afcac098bd5f3]
Use (void) instead of VLC_UNUSED (with pierre agreement)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=487b2b1e7439028935350ce5550afcac098bd5f3
---
src/network/rootwrap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/network/rootwrap.c b/src/network/rootwrap.c
index 039b7b7..ed567df 100644
--- a/src/network/rootwrap.c
+++ b/src/network/rootwrap.c
@@ -442,11 +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);
+ (void)family;
+ (void)socktype;
+ (void)protocol;
+ (void)addr;
+ (void)alen;
return -1;
}
More information about the vlc-devel
mailing list