mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-24 22:05:05 +00:00
Fix unused variable warnings
This commit is contained in:
parent
e2b8d96529
commit
891c89eeb8
|
@ -804,7 +804,6 @@ static void touch_handler_down(void *data, struct wl_touch *touch, uint32_t seri
|
||||||
uint32_t timestamp, struct wl_surface *surface,
|
uint32_t timestamp, struct wl_surface *surface,
|
||||||
int id, wl_fixed_t fx, wl_fixed_t fy)
|
int id, wl_fixed_t fx, wl_fixed_t fy)
|
||||||
{
|
{
|
||||||
struct SDL_WaylandInput *input = (struct SDL_WaylandInput *)data;
|
|
||||||
SDL_WindowData *window_data;
|
SDL_WindowData *window_data;
|
||||||
|
|
||||||
/* Check that this surface belongs to one of the SDL windows */
|
/* Check that this surface belongs to one of the SDL windows */
|
||||||
|
@ -829,7 +828,6 @@ static void touch_handler_down(void *data, struct wl_touch *touch, uint32_t seri
|
||||||
static void touch_handler_up(void *data, struct wl_touch *touch, uint32_t serial,
|
static void touch_handler_up(void *data, struct wl_touch *touch, uint32_t serial,
|
||||||
uint32_t timestamp, int id)
|
uint32_t timestamp, int id)
|
||||||
{
|
{
|
||||||
struct SDL_WaylandInput *input = (struct SDL_WaylandInput *)data;
|
|
||||||
wl_fixed_t fx = 0, fy = 0;
|
wl_fixed_t fx = 0, fy = 0;
|
||||||
struct wl_surface *surface = NULL;
|
struct wl_surface *surface = NULL;
|
||||||
|
|
||||||
|
@ -853,7 +851,6 @@ static void touch_handler_up(void *data, struct wl_touch *touch, uint32_t serial
|
||||||
static void touch_handler_motion(void *data, struct wl_touch *touch, uint32_t timestamp,
|
static void touch_handler_motion(void *data, struct wl_touch *touch, uint32_t timestamp,
|
||||||
int id, wl_fixed_t fx, wl_fixed_t fy)
|
int id, wl_fixed_t fx, wl_fixed_t fy)
|
||||||
{
|
{
|
||||||
struct SDL_WaylandInput *input = (struct SDL_WaylandInput *)data;
|
|
||||||
struct wl_surface *surface = NULL;
|
struct wl_surface *surface = NULL;
|
||||||
|
|
||||||
touch_update(id, fx, fy, &surface);
|
touch_update(id, fx, fy, &surface);
|
||||||
|
|
Loading…
Reference in a new issue