浏览代码

faux.list: faux_list_data() doesn't assert(faux_list_t *)

Serj Kalichev 4 年之前
父节点
当前提交
fbb2ac8bd2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      faux/list/list.c

+ 0 - 1
faux/list/list.c

@@ -89,7 +89,6 @@ faux_list_node_t *faux_list_next_node(const faux_list_node_t *node)
  */
 void *faux_list_data(const faux_list_node_t *node)
 {
-	assert(node);
 	if (!node)
 		return NULL;