mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
common: Fix warning for portability.
* common/localename.c (do_nl_locale_name): We don't use CATEGORY. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
ce37ada871
commit
b9ab733fc0
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user