[PATCH 2/9] cli: use notmuch_bool_t for boolean argument in show

Subject: [PATCH 2/9] cli: use notmuch_bool_t for boolean argument in show

Date: Tue, 19 Sep 2017 23:39:22 +0300

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


Pedantically correct, although they're the same underlying type.
---
 notmuch-show.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notmuch-show.c b/notmuch-show.c
index cdcc2a982bd9..9d1c3ef040c6 100644
--- a/notmuch-show.c
+++ b/notmuch-show.c
@@ -1085,7 +1085,7 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[])
 	.output_body = TRUE,
     };
     int format = NOTMUCH_FORMAT_NOT_SPECIFIED;
-    int exclude = TRUE;
+    notmuch_bool_t exclude = TRUE;
 
     /* This value corresponds to neither true nor false being passed
      * on the command line */
-- 
2.11.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: