cli: do not initialize zero values with designated initializers
authorJani Nikula <jani@nikula.org>
Fri, 6 Jan 2017 20:14:50 +0000 (22:14 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 10 Mar 2017 11:56:11 +0000 (07:56 -0400)
Let the language initialize defaults to zero when some values are
initialized to non-zero values. No functional changes.

notmuch-reply.c
notmuch-show.c

index 8c894974485d4f4ae32997388425904640d941da..166a59467eec711ac8fb9b5d22f3e6b6027818da 100644 (file)
@@ -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;
index facd4f5728d45fe00dded8cc13e082a8c945858b..aff93803734ff7b64fe61494687ddad6ba7ec7ce 100644 (file)
@@ -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;