SDL_x11modes: fix -Wunused-variable
diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c
index 8e38847..da63afd 100644
--- a/src/video/x11/SDL_x11modes.c
+++ b/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;