diff options
| author | Jani Nikula <jani@nikula.org> | 2017-01-06 22:14:50 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-03-10 07:56:11 -0400 |
| commit | ed22cd8bf14a652013dc7a17cf3a93f4e0ae911a (patch) | |
| tree | cdcb23592fa6aeee18473b1a2e8728b3a4f172a1 | |
| parent | 069362ee10d0af108c7d0a275bda1a78c4a49f27 (diff) | |
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.
| -rw-r--r-- | notmuch-reply.c | 5 | ||||
| -rw-r--r-- | notmuch-show.c | 6 |
2 files changed, 0 insertions, 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; |
