X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-tag.c;h=d9daf8fbe44a39f50ba2464cb6a057cfe372afc1;hp=b54c55dd71428ebca229f6135d57a78e109f8e00;hb=b12b81bbb572079ac0f5089fa7eb38f71c7874d1;hpb=4b5b6f02cc943b83270ad5061166e5d9967b2899 diff --git a/notmuch-tag.c b/notmuch-tag.c index b54c55dd..d9daf8fb 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -97,7 +97,7 @@ tag_query (void *ctx, notmuch_database_t *notmuch, const char *query_string, notmuch_query_t *query; notmuch_messages_t *messages; notmuch_message_t *message; - int ret = 0; + int ret = NOTMUCH_STATUS_SUCCESS; /* Optimize the query so it excludes messages that already have * the specified set of tags. */