From 958c42827cb246841dbabf72c0cad1f124dacbfa Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 4 Jun 2020 09:13:49 -0700 Subject: [PATCH] Fixed build warning --- src/video/wayland/SDL_waylandwindow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c index b5dbbd0d1..787c61494 100644 --- a/src/video/wayland/SDL_waylandwindow.c +++ b/src/video/wayland/SDL_waylandwindow.c @@ -406,7 +406,6 @@ static void handle_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output) { SDL_WindowData *window = data; - int num_outputs = 0; int i; for (i = 0; i < window->num_outputs; i++) {