[vlc-commits] wayland: remove unused variable x and y
Alexandre Janniaux
git at videolan.org
Thu Jan 31 19:00:08 CET 2019
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan 31 11:17:04 2019 +0100| [0c33183342e3c1e0705db6ffd4c5ec798412b549] | committer: Rémi Denis-Courmont
wayland: remove unused variable x and y
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c33183342e3c1e0705db6ffd4c5ec798412b549
---
modules/video_output/wayland/shm.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index 5616e6c6c1..fd5be34605 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;
}
@@ -292,8 +288,6 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
sys->shm = NULL;
sys->viewporter = NULL;
sys->active_buffers = 0;
- sys->x = 0;
- sys->y = 0;
sys->display_width = cfg->display.width;
sys->display_height = cfg->display.height;
sys->use_buffer_transform = false;
More information about the vlc-commits
mailing list