From 768872e67ed9fb8f9aed528f42dd37da6ef3e04f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 29 Mar 2009 21:06:28 +0200 Subject: fixed gettext stub when NLS is disabled --- src/port/gettext.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/port') diff --git a/src/port/gettext.c b/src/port/gettext.c index 3d4e052..5ab5b49 100644 --- a/src/port/gettext.c +++ b/src/port/gettext.c @@ -24,6 +24,9 @@ void wolf_port_initialize_i18n( const char *argv0, const char *app ) { const char *localedir; WOLF_UNUSED( argv0 ); +#if !ENABLE_NLS + WOLF_UNUSED( app ); +#endif /* default is the location $(localedir) points to (the final installation * destination) -- cgit v1.2.3-54-g00ecf