소스 검색

Void function return

Clang: void function should not return void expression [-Wpedantic]
Max Seidenstücker 4 달 전
부모
커밋
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)
 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)
 static SDL_GLContext OVR_EGL_CreateContext(SDL_VideoDevice *_this, SDL_Window * window)
 {
 {