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

    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 files changed, 1 insertions(+), 0 deletions(-)

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

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to