video_filter: fix warnings
[vlc.git] / modules / video_filter / erase.c
index 1d50482..66cf189 100644 (file)
@@ -411,6 +411,7 @@ static void FilterErase( filter_t *p_filter, picture_t *p_inpic,
 static int EraseCallback( vlc_object_t *p_this, char const *psz_var,
                           vlc_value_t oldval, vlc_value_t newval, void *p_data )
 {
+    VLC_UNUSED(oldval);
     filter_sys_t *p_sys = (filter_sys_t *)p_data;
 
     if( !strcmp( psz_var, CFG_PREFIX "x" ) )