diff --git a/common/localename.c b/common/localename.c index 2650ea7ec..b620a741f 100644 --- a/common/localename.c +++ b/common/localename.c @@ -79,6 +79,7 @@ do_nl_locale_name (int category, const char *categoryname) (void)categoryname; retval = setlocale (category, NULL); # else + (void)category; /* Setting of LC_ALL overwrites all other. */ retval = getenv ("LC_ALL"); if (retval == NULL || retval[0] == '\0')