X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=database.cc;h=4524016b37aecb1d0ffbacfbe72d4b5c8b03b94d;hp=97043e99b7230ab6ccf4d5f587333278522aeba3;hb=39429339624f8d29db8f523d52a81c70001ebebe;hpb=436b8a2fda3f0ba894cfd5f5332557cdff1663b0 diff --git a/database.cc b/database.cc index 97043e99..4524016b 100644 --- a/database.cc +++ b/database.cc @@ -860,7 +860,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch, notmuch_message_t **message_ret) { notmuch_message_file_t *message_file; - notmuch_message_t *message; + notmuch_message_t *message = NULL; notmuch_status_t ret = NOTMUCH_STATUS_SUCCESS; notmuch_private_status_t private_status;