From c4e6a0c4f657781c45e8dac58aebd3e29a40895b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 26 May 2020 11:26:01 +0200 Subject: [PATCH] charsets: don't warn in unlikely case of needing to convert to HEX from UTF-8 This would really be an implementation detail, not a real use case. Just don't warn in this case, as in the conversion in the opposite direction. --- src/mm-charsets.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mm-charsets.c b/src/mm-charsets.c index bf0de2b2..4b08200d 100644 --- a/src/mm-charsets.c +++ b/src/mm-charsets.c @@ -877,8 +877,6 @@ mm_utf8_take_and_convert_to_charset (gchar *str, break; case MM_MODEM_CHARSET_HEX: - /* FIXME: What encoding is this? */ - g_warn_if_reached (); encoded = str; break;