diff options
Diffstat (limited to 'ft_calloc.c')
| -rw-r--r-- | ft_calloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ft_calloc.c b/ft_calloc.c index 9248e54..622bdd2 100644 --- a/ft_calloc.c +++ b/ft_calloc.c @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 12:45:37 by cacharle #+# #+# */ -/* Updated: 2019/10/09 09:07:26 by cacharle ### ########.fr */ +/* Updated: 2019/10/09 12:45:31 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,9 +18,7 @@ void *ft_calloc(size_t count, size_t size) void *mem; if (count == 0 || size == 0) - { return (NULL); - } if ((mem = malloc(count * size)) == NULL) return (NULL); ft_bzero(mem, count * size); |
