[vlc-devel] commit: modules: Fix an unused arg if NLS is not enabled. (Pierre d' Herbemont )
git version control
git at videolan.org
Thu Aug 20 16:43:33 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 15:20:22 2009 +0200| [87d5caa07a602018379be0f15d15fa0ea7bdd11e] | committer: Pierre d'Herbemont
modules: Fix an unused arg if NLS is not enabled.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87d5caa07a602018379be0f15d15fa0ea7bdd11e
---
src/modules/entry.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/modules/entry.c b/src/modules/entry.c
index 647bf9d..f259673 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -42,6 +42,8 @@ static const char *mdgettext (const char *domain, const char *msg)
#ifdef ENABLE_NLS
if (*msg) /* Do not translate ""! */
return dgettext (domain, msg);
+#else
+ VLC_UNUSED(domain);
#endif
return msg;
}
More information about the vlc-devel
mailing list