Skip to content

Commit

Permalink
mail-crypt: Remove dead assigment
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Nov 29, 2016
1 parent a62b4fb commit ceb2c6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plugins/mail-crypt/mail-crypt-key.c
Expand Up @@ -1044,8 +1044,6 @@ int mail_crypt_box_generate_keypair(struct mailbox *box,
dcrypt_key_ref_public(user_key);
}

ret = 0;

if ((ret = mail_crypt_generate_keypair(curve, pair, pubid_r, error_r)) < 0) {
/* failed */
} else if ((ret = mail_crypt_box_set_keys(box, *pubid_r,
Expand Down

0 comments on commit ceb2c6d

Please sign in to comment.