From b9ab733fc0dd2ca2a7eaac0bde3a817c07af36c5 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 7 Mar 2017 10:42:46 +0900 Subject: [PATCH] common: Fix warning for portability. * common/localename.c (do_nl_locale_name): We don't use CATEGORY. -- Signed-off-by: NIIBE Yutaka --- common/localename.c | 1 + 1 file changed, 1 insertion(+) 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')