[vlc-devel] [PATCH] wayland: shm: remove superfluous callback
Steve Lhomme
robux4 at ycbcr.xyz
Tue Sep 15 11:45:58 CEST 2020
LGTM
On 2020-09-15 10:13, Alexandre Janniaux wrote:
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list