From ed22cd8bf14a652013dc7a17cf3a93f4e0ae911a Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Fri, 6 Jan 2017 22:14:50 +0200 Subject: [PATCH] cli: do not initialize zero values with designated initializers Let the language initialize defaults to zero when some values are initialized to non-zero values. No functional changes. --- notmuch-reply.c | 5 ----- notmuch-show.c | 6 ------ 2 files changed, 11 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 8c894974..166a5946 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -701,11 +701,6 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]) int opt_index; notmuch_show_params_t params = { .part = -1, - .crypto = { - .verify = FALSE, - .decrypt = FALSE, - .gpgpath = NULL - } }; int format = FORMAT_DEFAULT; int reply_all = TRUE; diff --git a/notmuch-show.c b/notmuch-show.c index facd4f57..aff93803 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -1023,12 +1023,6 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[]) .part = -1, .omit_excluded = TRUE, .output_body = TRUE, - .crypto = { - .verify = FALSE, - .decrypt = FALSE, - .gpgpath = NULL - }, - .include_html = FALSE }; int format = NOTMUCH_FORMAT_NOT_SPECIFIED; int exclude = EXCLUDE_TRUE; -- 2.43.0