1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

common: Drop unused variables, fix warnings.

--
Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-04-21 15:23:04 +02:00
parent 12af2630cf
commit b8cb0973bc
2 changed files with 1 additions and 3 deletions

View File

@ -347,7 +347,7 @@ _pkc_add (pkc_t pk, char *name, char *value, strlist_t raw_value,
{ {
pke_t last; pke_t last;
if (preserve_order) if (preserve_order || name == NULL)
last = pk->last; last = pk->last;
else else
{ {

View File

@ -269,7 +269,6 @@ run_modification_tests (void)
{ {
gpg_error_t err; gpg_error_t err;
pkc_t pk; pkc_t pk;
pke_t e;
gcry_sexp_t key; gcry_sexp_t key;
char *buf; char *buf;
@ -380,7 +379,6 @@ convert (const char *fname)
gcry_sexp_t key; gcry_sexp_t key;
char *buf; char *buf;
size_t buflen; size_t buflen;
gpgrt_ssize_t nread;
struct stat st; struct stat st;
pkc_t pk; pkc_t pk;