isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 83eaac8787dd4ee43a8635a12723da4b6a196e28
parent 08dab9465b0470704662e96c083cac0a6fd76ef5
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Mon, 13 Apr 2015 09:17:56 +0200

fix uninitialized variable warning

the returned UID is not used when trashing messages, but we still
shouldn't just return an undefined value.

Diffstat:
Msrc/drv_maildir.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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; }