X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=mime-node.c;h=abb6dd8432bbb4c9e54ec325c5fa6862b7032063;hb=ab0ae8b1c086ca3878f16ce40cc421eeb206c79e;hp=d2125f90e625de2a07e8de4b00ef0e48bb882ddc;hpb=8b25643d08b9388ae9c38837a3dfd3dbc6b085cf;p=notmuch diff --git a/mime-node.c b/mime-node.c index d2125f90..abb6dd84 100644 --- a/mime-node.c +++ b/mime-node.c @@ -293,8 +293,6 @@ _mime_node_create (mime_node_t *parent, GMimeObject *part, int numchild) static bool _mime_node_set_up_part (mime_node_t *node, GMimeObject *part, int numchild) { - notmuch_status_t status; - /* Deal with the different types of parts */ if (GMIME_IS_PART (part)) { node->part = part; @@ -335,9 +333,7 @@ _mime_node_set_up_part (mime_node_t *node, GMimeObject *part, int numchild) node_verify (node, part); } } else { - status = _notmuch_message_crypto_potential_payload (node->ctx->msg_crypto, part, node->parent ? node->parent->part : NULL, numchild); - if (status) - fprintf (stderr, "Warning: failed to record potential crypto payload (%s).\n", notmuch_status_to_string (status)); + (void) _notmuch_message_crypto_potential_payload (node->ctx->msg_crypto, part, node->parent ? node->parent->part : NULL, numchild); } return true;