diff options
author | David Bremner <bremner@debian.org> | 2013-01-19 09:14:46 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-01-19 14:20:42 -0400 |
commit | be8a9ab0e63cf85239a43b7a4d92cc646c2417e7 (patch) | |
tree | 1f5fb1ca175329ea7d52f78a14db2f23f9b57bd6 /notmuch-tag.c | |
parent | df9f50185cf71dd4801cfd24ade33d5c2f74de1a (diff) |
notmuch-tag: initialize with enum instead of 0
This is just a cosmetic fix to make the "type" of ret more clear.
Diffstat (limited to 'notmuch-tag.c')
-rw-r--r-- | notmuch-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |