mailinfo: remove a no-op call convert_to_utf8(it, "")

The called function checks if the second parameter is either a NULL or an empty string at the very beginning and returns without doing anything. Remove the useless call. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Oct 14, 2015 at 15:33 UTC 2a5ce7cf0da8c4d97dd58f5cbc6092b394648356
1 file changed -5
builtin/mailinfo.c
-5
@@ -612,11 +612,6 @@ static void decode_header(struct strbuf *it)
612 {
613 if (decode_header_bq(it))
614 return;
615 - /* otherwise "it" is a straight copy of the input.
616 - * This can be binary guck but there is no charset specified.
617 - */
618 - if (metainfo_charset)
619 - convert_to_utf8(it, "");
615 }
616
617 static void decode_transfer_encoding(struct strbuf *line)