浏览代码

according to coverage tests, this branch is neven taken

Cédric Augonnet 16 年之前
父节点
当前提交
ddcdcfe39f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common/htable32.c

+ 1 - 1
src/common/htable32.c

@@ -32,7 +32,7 @@ void *htbl_search_32(struct starpu_htbl32_node_s *htbl, uint32_t key)
 	{
 	
 	//	printf("search : current bit = %d \n", currentbit);
-		if (current_htbl == NULL)
+		if (STARPU_UNLIKELY(current_htbl == NULL))
 			return NULL;
 
 		/* 0000000000001111