From: Aki Tuomi Date: Tue, 29 Nov 2016 22:28:08 +0000 (+0200) Subject: mail-crypt: Remove dead assigment X-Git-Tag: 2.3.0.rc1~2482 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceb2c6d913e236aff5df81b8a9d7fc5f2d898528;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 2780c97f68..d93a139d58 100644 --- a/src/plugins/mail-crypt/mail-crypt-key.c +++ b/src/plugins/mail-crypt/mail-crypt-key.c @@ -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,