X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-tag.c;h=205f27334066ac1485bed439c7beaf88e694cd56;hb=66adcd4f538d426205fd09b0f97b63c74e9e82d7;hp=630efa65399cc310d9a5b9c6e228b90a03668deb;hpb=4a6721970a42a9f86149fb5d395d1001fed2d305;p=notmuch diff --git a/notmuch-tag.c b/notmuch-tag.c index 630efa65..205f2733 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -187,15 +187,15 @@ tag_file (void *ctx, notmuch_database_t *notmuch, tag_op_flag_t flags, } int -notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[]) +notmuch_tag_command (notmuch_config_t *config, unused(notmuch_database_t *notmuch), int argc, char *argv[]) { tag_op_list_t *tag_ops = NULL; char *query_string = NULL; notmuch_database_t *notmuch; struct sigaction action; tag_op_flag_t tag_flags = TAG_FLAG_NONE; - notmuch_bool_t batch = FALSE; - notmuch_bool_t remove_all = FALSE; + bool batch = false; + bool remove_all = false; FILE *input = stdin; const char *input_file_name = NULL; int opt_index; @@ -223,7 +223,7 @@ notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[]) notmuch_process_shared_options (argv[0]); if (input_file_name) { - batch = TRUE; + batch = true; input = fopen (input_file_name, "r"); if (input == NULL) { fprintf (stderr, "Error opening %s for reading: %s\n",