Commit ff297753db29f07bf83c1237e0f8e09a9dcecde6

Sam Lantinga 2021-02-04T10:46:34

Fixed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c
index aec6cc2..3ddeef0 100644
--- a/src/video/wayland/SDL_waylandvideo.c
+++ b/src/video/wayland/SDL_waylandvideo.c
@@ -258,7 +258,6 @@ display_handle_mode(void *data,
                     int height,
                     int refresh)
 {
-    SDL_DisplayMode mode;
     SDL_VideoDisplay *display = data;
     SDL_WaylandOutputData* driverdata = display->driverdata;