]> git.sesse.net Git - vlc/commitdiff
vlc_fixups: Use (void) instead of VLC_UNUSED which is not available.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 20:17:42 +0000 (22:17 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 20:17:42 +0000 (22:17 +0200)
include/vlc_fixups.h

index bc751879ceb4cbf4b62578bf108472c22773a667..33966bab97fe5fb93e34b3daa25c4961660a6e15 100644 (file)
@@ -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