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.
This commit is contained in:
Jani Nikula 2017-01-06 22:14:50 +02:00 committed by David Bremner
parent 069362ee10
commit ed22cd8bf1
2 changed files with 0 additions and 11 deletions

View file

@ -701,11 +701,6 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[])
int opt_index; int opt_index;
notmuch_show_params_t params = { notmuch_show_params_t params = {
.part = -1, .part = -1,
.crypto = {
.verify = FALSE,
.decrypt = FALSE,
.gpgpath = NULL
}
}; };
int format = FORMAT_DEFAULT; int format = FORMAT_DEFAULT;
int reply_all = TRUE; int reply_all = TRUE;

View file

@ -1023,12 +1023,6 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[])
.part = -1, .part = -1,
.omit_excluded = TRUE, .omit_excluded = TRUE,
.output_body = TRUE, .output_body = TRUE,
.crypto = {
.verify = FALSE,
.decrypt = FALSE,
.gpgpath = NULL
},
.include_html = FALSE
}; };
int format = NOTMUCH_FORMAT_NOT_SPECIFIED; int format = NOTMUCH_FORMAT_NOT_SPECIFIED;
int exclude = EXCLUDE_TRUE; int exclude = EXCLUDE_TRUE;