From 45cb983bddff407659d517414bf5ecbca8aea382 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 13 Jul 2007 18:10:39 +0000 Subject: [PATCH] 2007-07-13 Murray Cumming * src/modest-mail-operation.c: (update_account_thread): Initialized num_new_headers to fix the build. pmo-trunk-r2737 --- ChangeLog2 | 7 ++++++- src/modest-mail-operation.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog2 b/ChangeLog2 index fb12d90..4a2acbc 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,4 +1,9 @@ -2007-07-13 MMurray Cumming +2007-07-13 Murray Cumming + + * src/modest-mail-operation.c: (update_account_thread): + Initialized num_new_headers to fix the build. + +2007-07-13 Murray Cumming * src/modest-account-mgr.c: (modest_account_mgr_account_names): Ignore modest accounts whose server accounts don't exist in gconf. diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index a1c308d..19274c6 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -1139,14 +1139,14 @@ static gpointer update_account_thread (gpointer thr_user_data) { static gboolean first_time = TRUE; - UpdateAccountInfo *info; + UpdateAccountInfo *info = NULL; TnyList *all_folders = NULL; GPtrArray *new_headers = NULL; TnyIterator *iter = NULL; TnyFolderStoreQuery *query = NULL; ModestMailOperationPrivate *priv = NULL; ModestTnySendQueue *send_queue = NULL; - gint num_new_headers; + gint num_new_headers = 0; info = (UpdateAccountInfo *) thr_user_data; priv = MODEST_MAIL_OPERATION_GET_PRIVATE(info->mail_op); -- 1.7.9.5