Merge branch '2106-dead-code' into 'master'

gtranslit: Drop duplicate if case

Closes #2106

See merge request GNOME/glib!1490
This commit is contained in:
Sebastian Dröge 2020-06-10 13:00:05 +00:00
commit d918b6bcd1

View File

@ -400,11 +400,6 @@ g_str_to_ascii (const gchar *str,
else /* no match found */
g_string_append_c (result, '?');
}
else if (*str & 0x80) /* Out-of-range non-ASCII case */
{
g_string_append_c (result, '?');
str = g_utf8_next_char (str);
}
else /* ASCII case */
g_string_append_c (result, *str++);
}