mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-11 21:48:50 +01:00
common: Drop unused variables, fix warnings.
-- Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
12af2630cf
commit
b8cb0973bc
@ -347,7 +347,7 @@ _pkc_add (pkc_t pk, char *name, char *value, strlist_t raw_value,
|
||||
{
|
||||
pke_t last;
|
||||
|
||||
if (preserve_order)
|
||||
if (preserve_order || name == NULL)
|
||||
last = pk->last;
|
||||
else
|
||||
{
|
||||
|
@ -269,7 +269,6 @@ run_modification_tests (void)
|
||||
{
|
||||
gpg_error_t err;
|
||||
pkc_t pk;
|
||||
pke_t e;
|
||||
gcry_sexp_t key;
|
||||
char *buf;
|
||||
|
||||
@ -380,7 +379,6 @@ convert (const char *fname)
|
||||
gcry_sexp_t key;
|
||||
char *buf;
|
||||
size_t buflen;
|
||||
gpgrt_ssize_t nread;
|
||||
struct stat st;
|
||||
pkc_t pk;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user