]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
var-expand-crypt: Remove pointless assigment
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 23 Mar 2017 13:17:44 +0000 (15:17 +0200)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Fri, 31 Mar 2017 11:08:45 +0000 (14:08 +0300)
It's never used

src/plugins/var-expand-crypt/var-expand-crypt-plugin.c

index fdab6c6f059156ae4b693348309467f46fdbe027..fba6e54cf660d47b0ce985ad44e08b29045a84cf 100644 (file)
@@ -180,8 +180,6 @@ var_expand_encrypt(struct var_expand_context *_ctx,
        if (var_expand_crypt_settings(&ctx, args, error_r) < 0)
                return -1;
 
-       ret = 0;
-
        str_append(field_value, value);
 
        struct dcrypt_context_symmetric *dctx;