aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-05-16 12:25:07 +0000
committerWerner Koch <[email protected]>2025-05-16 12:26:45 +0000
commitfcac10357e6da8878ead5ca91c1f4ad80a080002 (patch)
treed6097a710ab89565171905d2333d1f51ad08a15d
parentgpg: Do not allow compressed key packets on import. (diff)
downloadgnupg-fcac10357e6da8878ead5ca91c1f4ad80a080002.tar.gz
gnupg-fcac10357e6da8878ead5ca91c1f4ad80a080002.zip
gpg: Remove unused variable.
* g10/export.c (do_export): Remove zfx.
-rw-r--r--g10/export.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/g10/export.c b/g10/export.c
index 2aafe8ee7..ffc37297c 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -424,9 +424,6 @@ do_export (ctrl_t ctrl, strlist_t users, int secret, unsigned int options,
IOBUF out = NULL;
int any, rc;
armor_filter_context_t *afx = NULL;
- compress_filter_context_t zfx;
-
- memset( &zfx, 0, sizeof zfx);
rc = open_outfile (GNUPG_INVALID_FD, NULL, 0, !!secret, &out);
if (rc)