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

Remove useless check

parent d06be22f
......@@ -1056,7 +1056,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
/* It's too much of a hassle to remove the ':' when we parse
* the cmd line :) */
if( i_name_len && *psz_option == ':' )
if( psz_option[0] == ':' )
{
psz_option++;
i_name_len--;
......
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