Browse Source

SDL_x11modes: fix -Wunused-variable

Anonymous Maarten 2 years ago
parent
commit
eb8eb621b1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video/x11/SDL_x11modes.c

+ 2 - 0
src/video/x11/SDL_x11modes.c

@@ -833,6 +833,8 @@ freeInfo:
             return SDL_SetError("X11_XRRSetCrtcConfig failed");
         }
     }
+#else
+    (void)data;
 #endif /* SDL_VIDEO_DRIVER_X11_XRANDR */
 
     return 0;