mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
show: Remove empty message_set_{start,sep,end} fields
Setting these to NULL is equivalent to the empty string now.
This commit is contained in:
parent
67da35222c
commit
2886af551e
1 changed files with 0 additions and 9 deletions
|
@ -26,10 +26,7 @@ format_part_text (const void *ctx, mime_node_t *node,
|
||||||
int indent, const notmuch_show_params_t *params);
|
int indent, const notmuch_show_params_t *params);
|
||||||
|
|
||||||
static const notmuch_show_format_t format_text = {
|
static const notmuch_show_format_t format_text = {
|
||||||
.message_set_start = "",
|
|
||||||
.part = format_part_text,
|
.part = format_part_text,
|
||||||
.message_set_sep = "",
|
|
||||||
.message_set_end = ""
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static notmuch_status_t
|
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);
|
int indent, const notmuch_show_params_t *params);
|
||||||
|
|
||||||
static const notmuch_show_format_t format_mbox = {
|
static const notmuch_show_format_t format_mbox = {
|
||||||
.message_set_start = "",
|
|
||||||
.part = format_part_mbox,
|
.part = format_part_mbox,
|
||||||
.message_set_sep = "",
|
|
||||||
.message_set_end = ""
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static notmuch_status_t
|
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));
|
unused (const notmuch_show_params_t *params));
|
||||||
|
|
||||||
static const notmuch_show_format_t format_raw = {
|
static const notmuch_show_format_t format_raw = {
|
||||||
.message_set_start = "",
|
|
||||||
.part = format_part_raw,
|
.part = format_part_raw,
|
||||||
.message_set_sep = "",
|
|
||||||
.message_set_end = ""
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|
Loading…
Reference in a new issue