From: Aki Tuomi Date: Tue, 29 Nov 2016 22:28:08 +0000 (+0200) Subject: mail-crypt: Remove dead assigment X-Git-Tag: 2.2.27~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81cbf87d0cceea7e2d79df04ebb5e97351305660;p=thirdparty%2Fdovecot%2Fcore.git mail-crypt: Remove dead assigment --- diff --git a/src/plugins/mail-crypt/mail-crypt-key.c b/src/plugins/mail-crypt/mail-crypt-key.c index 76b92a9174..273970f511 100644 --- a/src/plugins/mail-crypt/mail-crypt-key.c +++ b/src/plugins/mail-crypt/mail-crypt-key.c @@ -1061,8 +1061,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,