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:
parent
d06be22f8d
commit
da1291a1a4
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user