瀏覽代碼

VIEWs based on lub_list_t

Serj Kalichev 6 年之前
父節點
當前提交
202b9d0460
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lub/list/list.c

+ 1 - 1
lub/list/list.c

@@ -233,7 +233,7 @@ lub_list_node_t *lub_list_match_node(lub_list_t *this,
 	lub_list_match_fn matchFn, const void *userkey,
 	lub_list_node_t **saveptr)
 {
-	lub_list_node_t *iter;
+	lub_list_node_t *iter = NULL;
 	if (!this || !matchFn || !this->head)
 		return NULL;
 	if (saveptr)