1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-24 20:48:52 +02:00

Remove useless check

This commit is contained in:
Rémi Denis-Courmont 2008-02-21 18:41:03 +00:00
parent d06be22f8d
commit da1291a1a4

View File

@ -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--;