From: Austin Clements Date: Sun, 8 Apr 2012 00:57:50 +0000 (-0400) Subject: show: Remove empty message_set_{start,sep,end} fields X-Git-Tag: 0.13_rc1~77 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=2886af551eaefb0ddc841753c11de6973e4baff0;p=notmuch show: Remove empty message_set_{start,sep,end} fields Setting these to NULL is equivalent to the empty string now. --- diff --git a/notmuch-show.c b/notmuch-show.c index aa909324..da4a797f 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -26,10 +26,7 @@ format_part_text (const void *ctx, mime_node_t *node, int indent, const notmuch_show_params_t *params); static const notmuch_show_format_t format_text = { - .message_set_start = "", .part = format_part_text, - .message_set_sep = "", - .message_set_end = "" }; static notmuch_status_t @@ -48,10 +45,7 @@ format_part_mbox (const void *ctx, mime_node_t *node, int indent, const notmuch_show_params_t *params); static const notmuch_show_format_t format_mbox = { - .message_set_start = "", .part = format_part_mbox, - .message_set_sep = "", - .message_set_end = "" }; static notmuch_status_t @@ -60,10 +54,7 @@ format_part_raw (unused (const void *ctx), mime_node_t *node, unused (const notmuch_show_params_t *params)); static const notmuch_show_format_t format_raw = { - .message_set_start = "", .part = format_part_raw, - .message_set_sep = "", - .message_set_end = "" }; static const char *