mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
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:
parent
069362ee10
commit
ed22cd8bf1
2 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue