[Pkg-gnupg-commit] [gnupg2] 27/124: common: Fix warning for portability.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 5 15:55:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit b9ab733fc0dd2ca2a7eaac0bde3a817c07af36c5
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Mar 7 10:42:46 2017 +0900

    common: Fix warning for portability.
    
    * common/localename.c (do_nl_locale_name): We don't use CATEGORY.
    
    --
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 common/localename.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/localename.c b/common/localename.c
index 2650ea7..b620a74 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')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list