From: Jani Nikula Date: Fri, 6 Jan 2017 20:14:50 +0000 (+0200) Subject: cli: do not initialize zero values with designated initializers X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed22cd8bf14a652013dc7a17cf3a93f4e0ae911a;p=notmuch.git 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. --- 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;