Lucas Schnorr 8 lat temu
rodzic
commit
47ac7b3d9c
1 zmienionych plików z 1 dodań i 1 usunięć
  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);