[vlc-commits] variables: missing initializer
Rémi Denis-Courmont
git at videolan.org
Mon Aug 7 21:02:37 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 7 22:02:02 2017 +0300| [9c5dab77ff7d76ffea1654a790f386e7f38f8834] | committer: Rémi Denis-Courmont
variables: missing initializer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c5dab77ff7d76ffea1654a790f386e7f38f8834
---
src/misc/variables.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 4457fe747d..87a9c27478 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -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
More information about the vlc-commits
mailing list