summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_memcmp.c')
-rw-r--r--libft/src/ft_memcmp.c2
1 files changed, 0 insertions, 2 deletions
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)