From fc29371a10bf6cfd93c4e9ccfe9193c1311efc98 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Dec 2019 17:24:35 +0100 Subject: updated libft, better Makefile and .gitignore --- libft/src/ft_memcmp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libft/src/ft_memcmp.c') diff --git a/libft/src/ft_memcmp.c b/libft/src/ft_memcmp.c index 59a99bd..96f21c4 100644 --- a/libft/src/ft_memcmp.c +++ b/libft/src/ft_memcmp.c @@ -21,8 +21,6 @@ int s1_ptr = (unsigned char*)s1; s2_ptr = (unsigned char*)s2; - if (!s1 || !s2) - return (0); while (n) { if (*s1_ptr != *s2_ptr) -- cgit v1.2.3