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 <johnjohn.tedro@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
dev
John-John Tedro 9 years ago committed by Bryce Harrington
parent bfae30d814
commit 9d7aff0e38
  1. 1
      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;

Loading…
Cancel
Save