[vlc-devel] commit: vlc_fixups: Use (void) instead of VLC_UNUSED which is not available . (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 22:18:07 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 22:17:42 2009 +0200| [7df9ddcb75eab1a3da40a82ba14c7d3ec64b2964] | committer: Pierre d'Herbemont 

vlc_fixups: Use (void) instead of VLC_UNUSED which is not available.

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

 include/vlc_fixups.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index bc75187..33966ba 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -156,16 +156,16 @@ static inline char *getenv (const char *name)
 typedef void *locale_t;
 static inline locale_t uselocale(locale_t loc)
 {
-    VLC_UNUSED(loc);
+    (void)loc;
     return NULL;
 }
 static inline void freelocale(locale_t loc)
 {
-    VLC_UNUSED(loc);
+    (void)loc;
 }
 static inline locale_t newlocale(int mask, const char * locale, locale_t base);
 {
-    VLC_UNUSED(mask); VLC_UNUSED(locale); VLC_UNUSED(base);
+    (void)mask; (void)locale; (void)base;
     return NULL;
 }
 #endif




More information about the vlc-devel mailing list