From 2886af551eaefb0ddc841753c11de6973e4baff0 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 7 Apr 2012 20:57:50 -0400 Subject: show: Remove empty message_set_{start,sep,end} fields Setting these to NULL is equivalent to the empty string now. --- notmuch-show.c | 9 --------- 1 file changed, 9 deletions(-) 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 * -- cgit v1.2.3