[vlc-commits] [Git][videolan/vlc][master] wgl: fix warnings

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Jun 29 08:37:47 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0718770a by Steve Lhomme at 2022-06-29T08:19:33+00:00
wgl: fix warnings

sys was not used and gl is not used.

- - - - -


1 changed file:

- modules/video_output/win32/wgl.c


Changes:

=====================================
modules/video_output/win32/wgl.c
=====================================
@@ -301,6 +301,6 @@ static int MakeCurrent(vlc_gl_t *gl)
 
 static void ReleaseCurrent(vlc_gl_t *gl)
 {
-    vout_display_sys_t *sys = gl->sys;
+    VLC_UNUSED(gl);
     wglMakeCurrent(NULL, NULL);
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0718770a5c56a9b0ee36bc6621a08f367aa049a6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0718770a5c56a9b0ee36bc6621a08f367aa049a6
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list