projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8eeaf
)
lib: Fix missing initialization of status field.
0.5
author
Carl Worth
<cworth@cworth.org>
Fri, 12 Nov 2010 04:54:41 +0000
(20:54 -0800)
committer
Carl Worth
<cworth@cworth.org>
Fri, 12 Nov 2010 04:54:41 +0000
(20:54 -0800)
This could have been a problematic bug. Fortuinately "gcc -O2" warns
about it.
lib/message.cc
patch
|
blob
|
history
diff --git
a/lib/message.cc
b/lib/message.cc
index 293e854dd73ed82069f75f38b23e6d6d7a5b2e7a..225b7e91bbaa4db27cd016fb587dd22c6e2e6523 100644
(file)
--- 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);