Skip to content
Snippets Groups Projects
Commit 71197d41 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Fixed compile warnings introduced by porting from v1.2.

parent dd70d665
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include "sieve-code-dumper.h"
#include "sieve-result.h"
#include "sieve-smtp.h"
#include "sieve-message.h"
#include <stdio.h>
......
......@@ -7,6 +7,7 @@
#include "sieve-common.h"
#include "sieve-commands.h"
#include "sieve-actions.h"
#include "sieve-code.h"
#include "sieve-actions.h"
#include "sieve-result.h"
......@@ -115,7 +116,7 @@ static void seff_mailbox_create_print
static bool seff_mailbox_create_pre_execute
(const struct sieve_side_effect *seffect ATTR_UNUSED,
const struct sieve_action *action,
const struct sieve_action *action ATTR_UNUSED,
const struct sieve_action_exec_env *aenv ATTR_UNUSED,
void **se_context ATTR_UNUSED, void *tr_context ATTR_UNUSED)
{
......
......@@ -787,7 +787,6 @@ static bool act_notify_send
(const struct sieve_action_exec_env *aenv,
const struct ext_notify_action *act)
{
const struct sieve_message_data *msgdata = aenv->msgdata;
const struct sieve_script_env *senv = aenv->scriptenv;
const struct ext_notify_recipient *recipients;
void *smtp_handle;
......
......@@ -236,16 +236,6 @@ static void act_store_print
/* Action implementation */
static void act_store_get_storage_error
(const struct sieve_action_exec_env *aenv, struct act_store_transaction *trans)
{
enum mail_error error;
pool_t pool = sieve_result_pool(aenv->result);
trans->error = p_strdup(pool,
mail_storage_get_last_error(trans->namespace->storage, &error));
}
static struct mailbox *act_store_mailbox_open
(const struct sieve_action_exec_env *aenv, const char **mailbox,
struct mail_namespace **ns_r, const char **folder_r)
......
......@@ -219,6 +219,9 @@ void sieve_act_store_add_flags
(const struct sieve_action_exec_env *aenv, void *tr_context,
const char *const *keywords, enum mail_flags flags);
void sieve_act_store_get_storage_error
(const struct sieve_action_exec_env *aenv, struct act_store_transaction *trans);
/*
* Action utility functions
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.