video_filter: fix warnings
[vlc.git] / modules / video_filter / gradient.c
index b577971..300fb8b 100644 (file)
@@ -746,6 +746,7 @@ static int GradientCallback( 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, FILTER_PREFIX "mode" ) )
     {