Commit ed9e26d2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove always true condition

parent cf96f4b2
......@@ -189,12 +189,9 @@ static const char* vlc_charset_aliases( const char *psz_name )
VLCCharsetAlias aliases[] = {{NULL, NULL}};
#endif
if( aliases )
{
for (a = aliases; a->psz_alias; a++)
if (strcasecmp (a->psz_alias, psz_name) == 0)
return a->psz_name;
}
for (a = aliases; a->psz_alias; a++)
if (strcasecmp (a->psz_alias, psz_name) == 0)
return a->psz_name;
/* we return original name beacuse iconv() probably will know
* something better about name if we don't know it :-) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment