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.
This commit is contained in:
Aleksander Morgado
2020-05-26 11:26:01 +02:00
parent 87b8c9b295
commit c4e6a0c4f6

View File

@@ -877,8 +877,6 @@ mm_utf8_take_and_convert_to_charset (gchar *str,
break; break;
case MM_MODEM_CHARSET_HEX: case MM_MODEM_CHARSET_HEX:
/* FIXME: What encoding is this? */
g_warn_if_reached ();
encoded = str; encoded = str;
break; break;