aboutsummaryrefslogtreecommitdiffstats
path: root/common/localename.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/localename.c')
-rw-r--r--common/localename.c1
1 files changed, 1 insertions, 0 deletions
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')