Browse Source

datawizard/interfaces/data_interface.c: initialize rank to -1

Nathalie Furmento 15 years ago
parent
commit
a859208d43
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/datawizard/interfaces/data_interface.c

+ 1 - 0
src/datawizard/interfaces/data_interface.c

@@ -40,6 +40,7 @@ static void _starpu_register_new_data(starpu_data_handle handle,
 	handle->father_handle = NULL;
 	handle->sibling_index = 0; /* could be anything for the root */
 	handle->depth = 1; /* the tree is just a node yet */
+        handle->rank = -1; /* invalid until set */
 
 	handle->is_not_important = 0;