[vlc-devel] [PATCH] wayland: shm: remove superfluous callback
Alexandre Janniaux
ajanni at videolabs.io
Tue Sep 15 10:13:26 CEST 2020
Fix the following warning:
../../modules/video_output/wayland/shm.c:266:60: warning: excess elements in struct initializer
266 | Close, Prepare, Display, Control, ResetPictures, NULL, NULL,
| ^~~~
../../modules/video_output/wayland/shm.c:266:60: note: (near initialization for 'ops')
---
modules/video_output/wayland/shm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index a336658d8d..4480fa6d3a 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -263,7 +263,7 @@ static void Close(vout_display_t *vd)
}
static const struct vlc_display_operations ops = {
- Close, Prepare, Display, Control, ResetPictures, NULL, NULL,
+ Close, Prepare, Display, Control, ResetPictures, NULL,
};
static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
--
2.28.0
More information about the vlc-devel
mailing list