diff options
author | Carl Worth <cworth@cworth.org> | 2011-05-31 16:16:04 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-31 16:16:04 -0700 |
commit | f744b050b16d2a8c7223e06f7e071914ae05645e (patch) | |
tree | 2f345b51c755fc7b24f8866fd4ff1c52aff4f30a /notmuch-show.c | |
parent | 10a48e0566db1566e6c0221b9f9927ac123a0c1f (diff) |
show: Remove some dead code from show_text_part_content
Now that this function registers an internal error if called with a
non-text part, we can remove the conditions for multipart and
message-part content types.
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index df601fb..1ed49d9 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -393,10 +393,6 @@ show_text_part_content (GMimeObject *part, GMimeStream *stream_out) INTERNAL_ERROR ("Illegal request to format non-text part (%s) as text.", g_mime_content_type_to_string (content_type)); - /* do nothing if this is a multipart */ - if (GMIME_IS_MULTIPART (part) || GMIME_IS_MESSAGE_PART (part)) - return; - charset = g_mime_object_get_content_type_parameter (part, "charset"); if (stream_out) { |