mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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:
parent
fe8eeaf4a5
commit
7278383005
1 changed files with 1 additions and 1 deletions
|
@ -1122,7 +1122,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)
|
||||||
const char *filename;
|
const char *filename;
|
||||||
char *filename_new;
|
char *filename_new;
|
||||||
char *to_set, *to_clear;
|
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);
|
_get_maildir_flag_actions (message, &to_set, &to_clear);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue