This keeps things consistent with notmuch-show, and prevents having to
check for the existence of the field pointer for simple string output
formats.
unused (int *part_count));
static const notmuch_show_format_t format_reply = {
- NULL,
- NULL, NULL,
- NULL, NULL, NULL,
- NULL, reply_part, NULL, NULL, NULL,
- NULL, NULL,
- NULL
+ "",
+ "", NULL,
+ "", NULL, "",
+ "", reply_part, NULL, "", "",
+ "", "",
+ ""
};
static void
selected = (params->part <= 0 || state->part_count == params->part);
if (selected || state->in_zone) {
- if (!first && (params->part <= 0 || state->in_zone) && format->part_sep)
+ if (!first && (params->part <= 0 || state->in_zone))
fputs (format->part_sep, stdout);
format->part (part, &(state->part_count));