diff --git a/ChangeLog b/ChangeLog index c7cf348a..993b2653 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-09 Nicolas François + + * src/su.c: Ignore return value of setlocale(), + bindtextdomain(), and textdomain(). + 2008-06-09 Nicolas François * src/useradd.c: Use a bool when possible instead of int integers. diff --git a/src/su.c b/src/su.c index 154701fe..52eeaa0d 100644 --- a/src/su.c +++ b/src/su.c @@ -336,9 +336,9 @@ int main (int argc, char **argv) sanitize_env (); - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); + (void) setlocale (LC_ALL, ""); + (void) bindtextdomain (PACKAGE, LOCALEDIR); + (void) textdomain (PACKAGE); change_environment = 1;