Browse Source

set to NULL

Lucas Schnorr 8 years ago
parent
commit
47ac7b3d9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/debug/traces/starpu_fxt.c

+ 1 - 1
src/debug/traces/starpu_fxt.c

@@ -563,7 +563,7 @@ struct worker_entry
 
 static int register_thread(unsigned long tid, int workerid, int sync)
 {
-	struct worker_entry *entry;
+	struct worker_entry *entry = NULL;
 
 	HASH_FIND(hh, worker_ids, &tid, sizeof(tid), entry);