Răsfoiți Sursa

Void function return

Clang: void function should not return void expression [-Wpedantic]
Max Seidenstücker 3 săptămâni în urmă
părinte
comite
144ab4ba99
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)
 {