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

Don't apply CONFIG_ITEM mask to variable types

Variable types and configuration item types are separate. Fortunately
they use the same bits so it worked fine.
parent 9ffda480
......@@ -361,8 +361,6 @@ void config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
continue;
}
i_type &= CONFIG_ITEM;
if( i_type != VLC_VAR_BOOL && cfg->psz_value == NULL )
{
msg_Warn( p_this, "missing value for option %s", cfg->psz_name );
......
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