mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue