Browse Source

tell explicitly to static analyses that t->root is initially NULL

Samuel Thibault 7 years ago
parent
commit
ca1cc3aabd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sched_policies/modular_ez.c

+ 1 - 0
src/sched_policies/modular_ez.c

@@ -132,6 +132,7 @@ void starpu_sched_component_initialize_simple_scheduler(starpu_sched_component_c
 
 
 	/* Start building the tree */
 	/* Start building the tree */
 	t = starpu_sched_tree_create(sched_ctx_id);
 	t = starpu_sched_tree_create(sched_ctx_id);
+	t->root = NULL;
 
 
 	if (nbelow == 1)
 	if (nbelow == 1)
 	{
 	{