From f22c14f56e8096c1c698024fc3a7bd94bb850769 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Tue, 18 Jan 2011 21:46:08 +0100 Subject: [PATCH] Notify extension: fixed duplicate variable declaration. --- src/lib-sieve/plugins/notify/cmd-notify.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib-sieve/plugins/notify/cmd-notify.c b/src/lib-sieve/plugins/notify/cmd-notify.c index 05c9321e4..49d4a41b5 100644 --- a/src/lib-sieve/plugins/notify/cmd-notify.c +++ b/src/lib-sieve/plugins/notify/cmd-notify.c @@ -420,7 +420,7 @@ static int cmd_notify_operation_execute sieve_number_t importance = 1; struct sieve_stringlist *options = NULL; string_t *message = NULL, *id = NULL; - int ret; + int ret = 0; /* * Read operands @@ -476,7 +476,6 @@ static int cmd_notify_operation_execute if ( options != NULL ) { string_t *raw_address; string_t *out_message; - int ret; pool = sieve_result_pool(renv->result); act = p_new(pool, struct ext_notify_action, 1); -- GitLab