lstfind more explicit NULL

This commit is contained in:
Jack Halford 2017-01-10 12:34:08 +01:00
parent 0a1079aac4
commit 2e1f96a78b

View file

@ -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);
} }