[GPGME PATCH 1/3] tests/gpgsm: remove unused text var

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Sep 23 01:06:20 CEST 2016


* 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"
-- 
2.9.3




More information about the Gnupg-devel mailing list