changeset 5727:d9d047b743d5 HEAD

Compiler warning fixes
author Timo Sirainen <tss@iki.fi>
date Wed, 13 Jun 2007 22:57:25 +0300
parents 0f5ece26eb4f
children 7aab5d99fb45
files src/lib-index/mail-index-view-sync.c src/lib-index/mail-transaction-log-view.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-view-sync.c	Wed Jun 13 22:21:47 2007 +0300
+++ b/src/lib-index/mail-index-view-sync.c	Wed Jun 13 22:57:25 2007 +0300
@@ -250,7 +250,7 @@
 {
 	struct mail_index_view_sync_ctx *ctx;
 	struct mail_index_map *map;
-	enum mail_transaction_type log_get_mask, visible_mask;
+	enum mail_transaction_type log_get_mask, visible_mask = 0;
 	ARRAY_TYPE(seq_range) expunges = ARRAY_INIT;
 
 	i_assert(!view->syncing);
--- a/src/lib-index/mail-transaction-log-view.c	Wed Jun 13 22:21:47 2007 +0300
+++ b/src/lib-index/mail-transaction-log-view.c	Wed Jun 13 22:57:25 2007 +0300
@@ -326,7 +326,7 @@
 {
 	enum mail_transaction_type rec_type;
 	ARRAY_TYPE(seq_range) uids = ARRAY_INIT;
-	buffer_t *uid_buf;
+	buffer_t *uid_buf = NULL;
 	uint32_t rec_size;
 	bool ret = TRUE;