]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
uninitialized variable fix
authorTimo Sirainen <tss@iki.fi>
Fri, 17 Oct 2008 08:13:04 +0000 (11:13 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 17 Oct 2008 08:13:04 +0000 (11:13 +0300)
--HG--
branch : HEAD

src/lib-index/mail-index-strmap.c

index 4df38b66e2c63ddc3846ca552c8a7ad0df7004fa..f111142e606ab573bd239c6841ed53d3b3287353 100644 (file)
@@ -1121,7 +1121,7 @@ mail_index_strmap_write_append(struct mail_index_strmap_view *view)
 
        i_stream_sync(view->strmap->input);
        i_stream_seek(view->strmap->input, view->last_read_block_offset);
-       full_block = TRUE;
+       full_block = TRUE; ret = 0;
        while (i < old_count &&
               (ret = strmap_read_block_init(view, &ctx)) > 0) {
                while ((ret = strmap_read_block_next(&ctx, &crc32)) > 0) {