From: Pierre d'Herbemont Date: Thu, 20 Aug 2009 20:17:42 +0000 (+0200) Subject: vlc_fixups: Use (void) instead of VLC_UNUSED which is not available. X-Git-Tag: 1.1.0-ff~4089 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7df9ddcb75eab1a3da40a82ba14c7d3ec64b2964;p=vlc vlc_fixups: Use (void) instead of VLC_UNUSED which is not available. --- diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h index bc751879ce..33966bab97 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