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
master
Dennis Schridde 2007-04-12 20:28:52 +00:00
parent c028586ee4
commit 7b9257c949
1 changed files with 2 additions and 2 deletions

View File

@ -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 ***/