[vlc-devel] [PATCH] variables: add missing initialiser

Alexandre Janniaux ajanni at videolabs.io
Sun Jan 17 17:29:05 UTC 2021


Hi,

LGTM,

Regards,
--
Alexandre Janniaux
Videolabs

On Sun, Jan 17, 2021 at 05:52:21PM +0200, remi at remlab.net wrote:
> From: RĂ©mi Denis-Courmont <remi at remlab.net>
>
> ---
>  src/misc/variables.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/misc/variables.c b/src/misc/variables.c
> index f12e55d4e7..6a230d2edd 100644
> --- a/src/misc/variables.c
> +++ b/src/misc/variables.c
> @@ -350,6 +350,8 @@ int (var_Create)( vlc_object_t *p_this, const char *psz_name, int i_type )
>              vlc_assert_unreachable ();
>      }
>
> +    vlc_cond_init(&p_var->wait);
> +
>      if (i_type & VLC_VAR_DOINHERIT)
>          var_Inherit(p_this, psz_name, i_type, &p_var->val);
>
> --
> 2.30.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