common: Fix warning for portability.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 Mar 2017 01:42:46 +0000 (10:42 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 Mar 2017 01:42:46 +0000 (10:42 +0900)
* common/localename.c (do_nl_locale_name): We don't use CATEGORY.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
common/localename.c

index 2650ea7..b620a74 100644 (file)
@@ -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')