diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index 66ce1953226034436cc431271bb8dc7105d6d8d6..5fb23deca6d13ff424ed693fa71e066acf0ebc46 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -1643,6 +1643,7 @@ static void Flush( filter_t *p_filter )
 static int Mouse( filter_t *p_filter,
                   vlc_mouse_t *p_mouse, const vlc_mouse_t *p_old, const vlc_mouse_t *p_new )
 {
+    VLC_UNUSED(p_old);
     *p_mouse = *p_new;
     if( p_filter->p_sys->b_half_height )
         p_mouse->i_y *= 2;