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

Jani Nikula jani at nikula.org
Tue Sep 19 13:39:22 PDT 2017


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



More information about the notmuch mailing list