dovecot-2.2-pigeonhole: Sieve extprograms plugin: Fixed Coverity...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Wed Sep 30 22:11:12 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/3928e08d9340
changeset: 2111:3928e08d9340
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Oct 01 00:10:31 2015 +0200
description:
Sieve extprograms plugin: Fixed Coverity warning.

diffstat:

 src/plugins/sieve-extprograms/cmd-pipe.c |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 0f43eed67bd5 -r 3928e08d9340 src/plugins/sieve-extprograms/cmd-pipe.c
--- a/src/plugins/sieve-extprograms/cmd-pipe.c	Thu Oct 01 00:09:51 2015 +0200
+++ b/src/plugins/sieve-extprograms/cmd-pipe.c	Thu Oct 01 00:10:31 2015 +0200
@@ -163,7 +163,6 @@
 	/* Dump optional operands */
 	for (;;) {
 		int opt;
-		bool opok = TRUE;
 
 		if ( (opt=sieve_action_opr_optional_dump(denv, address, &opt_code)) < 0 )
 			return FALSE;
@@ -177,8 +176,6 @@
 		default:
 			return FALSE;
 		}
-
-		if ( !opok ) return FALSE;
 	}
 	
 	if ( !sieve_opr_string_dump(denv, address, "program-name") )


More information about the dovecot-cvs mailing list