瀏覽代碼

Void function return

Clang: void function should not return void expression [-Wpedantic]
Max Seidenstücker 3 周之前
父節點
當前提交
144ab4ba99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video/openvr/SDL_openvrvideo.c

+ 1 - 1
src/video/openvr/SDL_openvrvideo.c

@@ -1038,7 +1038,7 @@ static SDL_FunctionPointer OVR_EGL_GetProcAddress(SDL_VideoDevice *_this, const
 }
 static void OVR_EGL_UnloadLibrary(SDL_VideoDevice *_this)
 {
-    return SDL_EGL_UnloadLibrary(_this);
+    SDL_EGL_UnloadLibrary(_this);
 }
 static SDL_GLContext OVR_EGL_CreateContext(SDL_VideoDevice *_this, SDL_Window * window)
 {