[Pkg-gnupg-commit] [gnupg2] 113/132: g10: Stop compiler warning for t-stutter.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 17 03:07:48 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 98b759119c81c5b39f34f8a9a7b6a57e91ad6470
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed May 10 10:58:31 2017 +0900

    g10: Stop compiler warning for t-stutter.
    
    * g10/t-stutter.c (do_test): Refer current_test_group_failed.
    
    --
    
    Since this test does not follow the framework of TEST/TEST_P/ABORT,
    the variable is not used.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 g10/t-stutter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/g10/t-stutter.c b/g10/t-stutter.c
index 8fe242d..503a920 100644
--- a/g10/t-stutter.c
+++ b/g10/t-stutter.c
@@ -381,6 +381,7 @@ do_test (int argc, char *argv[])
   byte *raw_data;
   int raw_data_len;
 
+  (void)current_test_group_failed;
   for (i = 1; i < argc; i ++)
     {
       if (strcmp (argv[i], "--debug") == 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