[Pkg-gnupg-commit] [gpgme] 10/12: tests/gpgsm: remove unused text var

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 23:29:29 UTC 2016


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

dkg pushed a commit to branch cleanup-2016-09-22
in repository gpgme.

commit d938097083cfaabb08114b249f30e356ace7306b
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Thu Sep 22 18:09:36 2016 -0400

    tests/gpgsm: remove unused text var
    
    * tests/gpgsm/t-decrypt.c: remove unused const char test_text1[],
      which is not actually used.  It appears that this test intends to
      print the decrypted text rather than compare it with the correct
      text.  If it should be compared, then the test should be modified
      appropriately instead.
    
    Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
---
 tests/gpgsm/t-decrypt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/gpgsm/t-decrypt.c b/tests/gpgsm/t-decrypt.c
index 658809c..1149160 100644
--- a/tests/gpgsm/t-decrypt.c
+++ b/tests/gpgsm/t-decrypt.c
@@ -34,7 +34,6 @@
 #include "t-support.h"
 
 

-static const char test_text1[] = "Hallo Leute!\n";
 static const char test_cip1[] =
 "-----BEGIN CMS OBJECT-----\n"
 "MIAGCSqGSIb3DQEHA6CAMIACAQAxggEJMIIBBQIBADBwMGsxCzAJBgNVBAYTAkRF\n"

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



More information about the Pkg-gnupg-commit mailing list