1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02: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;
if (preserve_order)
if (preserve_order || name == NULL)
last = pk->last;
else
{