summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Becker <sylvain.becker@gmail.com>2019-04-02 18:07:27 +0200
committerSylvain Becker <sylvain.becker@gmail.com>2019-04-02 18:07:27 +0200
commitf96e4a9cb4c092d8ddb86eb3330ca62c1bba225e (patch)
treeaf54b57e9aa23287c2cad83ace227861551fa227
parent1cbf53b8393f64769ea45cec8117847717725343 (diff)
Bug 4576: one more warning
-rw-r--r--src/video/wayland/SDL_waylandevents.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c
index 6fbf91d9f1..ec3d9b125d 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);