From 144ab4ba995e8afddf3cbce02c83761c72c42ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Max=20Seidenst=C3=BCcker?= <[EMAIL REDACTED]>
Date: Fri, 6 Feb 2026 16:20:00 +0100
Subject: [PATCH] Void function return
Clang: void function should not return void expression [-Wpedantic]
---
src/video/openvr/SDL_openvrvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video/openvr/SDL_openvrvideo.c b/src/video/openvr/SDL_openvrvideo.c
index c866d07627bd2..5e7061be3ed16 100644
--- a/src/video/openvr/SDL_openvrvideo.c
+++ b/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)
{