]> git.sesse.net Git - vlc/commitdiff
Remove useless check
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 21 Feb 2008 18:41:03 +0000 (18:41 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 21 Feb 2008 18:41:03 +0000 (18:41 +0000)
src/misc/variables.c

index fd15a8ecf7cbcf752929681d6be018eec1daaef8..9ba21f7aa66064860d10347de97b2517aa083528 100644 (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--;