[vlc-devel] [PATCH 2/2] wayland: remove unused variable x and y

Alexandre Janniaux ajanni at videolabs.io
Thu Jan 31 10:57:03 CET 2019


---
 modules/video_output/wayland/shm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index b205be1c53..910a608ebc 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -53,8 +53,6 @@ struct vout_display_sys_t
 
     size_t active_buffers;
 
-    int x;
-    int y;
     unsigned display_width;
     unsigned display_height;
     bool use_buffer_transform;
@@ -138,8 +136,6 @@ static void Prepare(vout_display_t *vd, picture_t *pic, subpicture_t *subpic,
     wl_display_flush(display);
 
     sys->active_buffers++;
-    sys->x = 0;
-    sys->y = 0;
 
     (void) subpic;
 }
-- 
2.20.1



More information about the vlc-devel mailing list