Commit 95561f29 authored by Rémi Duraffort's avatar Rémi Duraffort

Revert "Fix compilation warning when compiling without --enable-debug."

This commit breaks 'make check'.

This reverts commit c87ca8bb.
parent 04ac555c
...@@ -199,12 +199,8 @@ VLC_EXPORT( int, __var_TriggerCallback, ( vlc_object_t *, const char * ) ); ...@@ -199,12 +199,8 @@ VLC_EXPORT( int, __var_TriggerCallback, ( vlc_object_t *, const char * ) );
static inline void __var_AssertType( vlc_object_t *p_obj, const char *psz_name, static inline void __var_AssertType( vlc_object_t *p_obj, const char *psz_name,
int i_expected ) int i_expected )
{ {
#ifndef NDEBUG
const int i_type = __var_Type( p_obj, psz_name ) & VLC_VAR_CLASS; const int i_type = __var_Type( p_obj, psz_name ) & VLC_VAR_CLASS;
assert( i_type == 0 || i_type == (i_expected&VLC_VAR_CLASS) ); assert( i_type == 0 || i_type == (i_expected&VLC_VAR_CLASS) );
#else
(void)p_obj; (void)psz_name; (void)i_expected;
#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