lib: Fix missing initialization of status field.

This could have been a problematic bug. Fortuinately "gcc -O2" warns
about it.
This commit is contained in:
Carl Worth 2010-11-11 20:54:41 -08:00
parent fe8eeaf4a5
commit 7278383005

View file

@ -1122,7 +1122,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)
const char *filename;
char *filename_new;
char *to_set, *to_clear;
notmuch_status_t status;
notmuch_status_t status = NOTMUCH_STATUS_SUCCESS;
_get_maildir_flag_actions (message, &to_set, &to_clear);