[PATCH 12/13] gpg: Remove an unused variable.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Feb 22 05:10:36 CET 2015


From: Werner Koch <wk at gnupg.org>

* g10/import.c (import): Remove need_armor.

[dkg: rebased to STABLE-BRANCH-1-4]
Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
---
 g10/import.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/g10/import.c b/g10/import.c
index 7050039..4620c5f 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -268,7 +268,6 @@ import (IOBUF inp, const char* fname,struct stats_s *stats,
     PACKET *pending_pkt = NULL;
     KBNODE keyblock = NULL;
     int rc = 0;
-    int need_armor = (!opt.no_armor || r_gpgkeys_err);
     armor_filter_context_t *afx = NULL;
 
     getkey_disable_caches();
-- 
2.1.4




More information about the Gnupg-devel mailing list