Browse Source

VIEWs based on lub_list_t

Serj Kalichev 5 years ago
parent
commit
202b9d0460
1 changed files with 1 additions and 1 deletions
  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)