lstfind more explicit NULL
This commit is contained in:
parent
0a1079aac4
commit
2e1f96a78b
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/11/04 11:09:20 by jhalford #+# #+# */
|
/* Created: 2016/11/04 11:09:20 by jhalford #+# #+# */
|
||||||
/* Updated: 2016/12/12 12:54:45 by jhalford ### ########.fr */
|
/* Updated: 2017/01/10 11:07:37 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -23,5 +23,5 @@ t_list *ft_lst_find(t_list *begin_list, void *data_ref, int (*cmp)())
|
||||||
return (list_ptr);
|
return (list_ptr);
|
||||||
list_ptr = list_ptr->next;
|
list_ptr = list_ptr->next;
|
||||||
}
|
}
|
||||||
return (list_ptr);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue