소스 검색

SDL_x11modes: fix -Wunused-variable

Anonymous Maarten 3 년 전
부모
커밋
eb8eb621b1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;