From ea091ce92f74ebfc9a60477133fb811b325c2c14 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Mon, 19 Sep 2016 12:27:16 +0300 Subject: [PATCH] fts-plugin: Remove NULL assert fts_backend_update_deinit will set box to NULL and call update_set_mailbox then. NULL check needs to be done in backends. --- src/plugins/fts/fts-api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/fts/fts-api.c b/src/plugins/fts/fts-api.c index a12c1903d3..5eec770bc8 100644 --- a/src/plugins/fts/fts-api.c +++ b/src/plugins/fts/fts-api.c @@ -125,7 +125,6 @@ static void fts_backend_set_cur_mailbox(struct fts_backend_update_context *ctx) { fts_backend_update_unset_build_key(ctx); if (ctx->backend_box != ctx->cur_box) { - i_assert(ctx->cur_box != NULL); ctx->backend->v.update_set_mailbox(ctx, ctx->cur_box); ctx->backend_box = ctx->cur_box; } -- 2.47.3