Commit fdabacb8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix warning (and maybe fix a bug too)

parent 9bd7a6e2
......@@ -278,7 +278,7 @@ int var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
p_var->ops = &void_ops;
#ifndef NDEBUG
if( i_type & VLC_VAR_CLASS != VLC_VAR_VOID )
if( (i_type & VLC_VAR_CLASS) != VLC_VAR_VOID )
msg_Err( p_this, "Creating the variable '%s' without a type",
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