From 7278383005de3a0d61ac3471162e7ef633d45076 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 11 Nov 2010 20:54:41 -0800 Subject: [PATCH] lib: Fix missing initialization of status field. This could have been a problematic bug. Fortuinately "gcc -O2" warns about it. --- lib/message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/message.cc b/lib/message.cc index 293e854d..225b7e91 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -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); -- 2.43.0