Commit 236b86067f0a0bb2890e582760c834e1d3f56bf2

Sylvain Becker 2019-04-02T18:07:27

Bug 4576: one more warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c
index 6fbf91d..ec3d9b1 100644
--- a/src/video/wayland/SDL_waylandevents.c
+++ b/src/video/wayland/SDL_waylandevents.c
@@ -414,7 +414,6 @@ static void
 touch_handler_up(void *data, struct wl_touch *touch, unsigned int serial,
                  unsigned int timestamp, int id)
 {
-    SDL_WindowData *window_data = (SDL_WindowData *)wl_surface_get_user_data(touch_surface(id));
     float x = 0, y = 0;
 
     touch_del(id, &x, &y);