From 9d7aff0e3813341236fa953850bd02ea75604e09 Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Sun, 20 Sep 2015 02:47:37 +0200 Subject: [PATCH] ivi-shell: initialize all fields in create_layout_transition create_layout_transition does not initialize is_transition_func. This patch initializes it to NULL. Signed-off-by: John-John Tedro Reviewed-by: Bryce Harrington --- 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 b00b5897..150e3017 100644 --- a/ivi-shell/ivi-layout-transition.c +++ b/ivi-shell/ivi-layout-transition.c @@ -253,6 +253,7 @@ create_layout_transition(void) transition->is_done = 0; + transition->is_transition_func = NULL; transition->private_data = NULL; transition->user_data = NULL;