changeset 20752:1194ca07a620

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.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 19 Sep 2016 12:27:16 +0300
parents b1a794ec2016
children 5e25d263dcf0
files src/plugins/fts/fts-api.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/fts/fts-api.c	Mon Sep 19 12:26:46 2016 +0300
+++ b/src/plugins/fts/fts-api.c	Mon Sep 19 12:27:16 2016 +0300
@@ -125,7 +125,6 @@
 {
 	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;
 	}