[vlc-commits] xcb window: remove unused function parameter

Mehdi Sabwat git at videolan.org
Fri Aug 23 11:08:40 CEST 2019


vlc | branch: master | Mehdi Sabwat <mehdisabwat at gmail.com> | Thu Aug 22 15:49:31 2019 +0200| [5c23989071a00b7aa701ee3cbb484cf5c8cd66bc] | committer: Thomas Guillem

xcb window: remove unused function parameter

Leftover from fd38297c687, to remove configuration parameter from vout window
module activation callback.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c23989071a00b7aa701ee3cbb484cf5c8cd66bc
---

 modules/video_output/xcb/window.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index cdd68f7dcb..13d7dd0dc4 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -859,7 +859,7 @@ static const struct vout_window_operations em_ops = {
 /**
  * Wrap an existing X11 window to embed the video.
  */
-static int EmOpen (vout_window_t *wnd, const vout_window_cfg_t *cfg)
+static int EmOpen (vout_window_t *wnd)
 {
     int ret = VLC_EGENERIC;
     xcb_window_t window = var_InheritInteger (wnd, "drawable-xid");
@@ -907,7 +907,6 @@ static int EmOpen (vout_window_t *wnd, const vout_window_cfg_t *cfg)
         goto error;
 
     wnd->ops = &em_ops;
-    (void) cfg;
     return VLC_SUCCESS;
 
 error:



More information about the vlc-commits mailing list