Commit 958c42827cb246841dbabf72c0cad1f124dacbfa

Sam Lantinga 2020-06-04T09:13:49

Fixed build warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index b5dbbd0..787c614 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++) {