From 83eaac8787dd4ee43a8635a12723da4b6a196e28 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 13 Apr 2015 09:17:56 +0200 Subject: [PATCH] fix uninitialized variable warning the returned UID is not used when trashing messages, but we still shouldn't just return an undefined value. --- src/drv_maildir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drv_maildir.c b/src/drv_maildir.c index 18ebbaf..2797d8a 100644 --- a/src/drv_maildir.c +++ b/src/drv_maildir.c @@ -1365,6 +1365,7 @@ maildir_store_msg( store_t *gctx, msg_data_t *data, int to_trash, } box = gctx->path; } else { + uid = 0; box = ctx->trash; }