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-861f7616d084master
parent
c028586ee4
commit
7b9257c949
|
@ -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 ***/
|
||||
|
||||
|
|
Loading…
Reference in New Issue