[PATCH][weston] ivi-shell: initialize all fields in create_layout_transition
John-John Tedro
johnjohn.tedro at gmail.com
Sat Sep 19 17:47:37 PDT 2015
create_layout_transition does not initialize is_transition_func.
This patch initializes it to NULL.
Signed-off-by: John-John Tedro <johnjohn.tedro at gmail.com>
---
ivi-shell/ivi-layout-transition.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c
index d12a8f4..d45b332 100644
--- a/ivi-shell/ivi-layout-transition.c
+++ b/ivi-shell/ivi-layout-transition.c
@@ -251,6 +251,7 @@ create_layout_transition(void)
transition->is_done = 0;
+ transition->is_transition_func = NULL;
transition->private_data = NULL;
transition->user_data = NULL;
--
2.1.4
More information about the wayland-devel
mailing list