From 7b9257c9495a8f8a5f2798a9e0567802913e154b Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Thu, 12 Apr 2007 20:28:52 +0000 Subject: [PATCH] Properly discard the return value of textdomain()/bindtextdomain(). Not doing this leads to a "statement with no effect" warning in case NLS is disabled. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1445 4a71c877-e1ca-e34f-864e-861f7616d084 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 71a95858b..f1217f431 100644 --- a/src/main.c +++ b/src/main.c @@ -424,8 +424,8 @@ int main(int argc, char *argv[]) #endif /*** Initialize translations ***/ setlocale(LC_ALL, ""); - bindtextdomain(PACKAGE, LOCALEDIR); - textdomain(PACKAGE); + (void)bindtextdomain(PACKAGE, LOCALEDIR); + (void)textdomain(PACKAGE); /*** Initialize PhysicsFS ***/