Commit 9c5dab77 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

variables: missing initializer

parent f34079c1
......@@ -316,7 +316,7 @@ int var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
p_var->choices_text.p_values = NULL;
p_var->b_incallback = false;
p_var->value_callbacks = (callback_table_t){ 0 };
p_var->value_callbacks = (callback_table_t){ 0, NULL };
/* Always initialize the variable, even if it is a list variable; this
* will lead to errors if the variable is not initialized, but it will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment