[PATCH v2 09/15] cli: use notmuch_bool_t for boolean argument in show

Subject: [PATCH v2 09/15] cli: use notmuch_bool_t for boolean argument in show

Date: Sun, 1 Oct 2017 23:53:18 +0300

To: notmuch@notmuchmail.org

Cc: Daniel Kahn Gillmor

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 d0e86f412e80..3d11a40c6a59 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;
     notmuch_bool_t entire_thread_set = FALSE;
     notmuch_bool_t single_message;
 
-- 
2.11.0

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

Thread: