瀏覽代碼

set to NULL

Lucas Schnorr 8 年之前
父節點
當前提交
47ac7b3d9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);