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

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