From 54ba606da7ceeee18c4084efe8aa1821aca7525f Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 16:42:26 +0100 Subject: Removed useless file --- src/ft_check_empty_line.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/ft_check_empty_line.c diff --git a/src/ft_check_empty_line.c b/src/ft_check_empty_line.c deleted file mode 100644 index 5f98f7d..0000000 --- a/src/ft_check_empty_line.c +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include - -void -ft_check_empty_line(int fd, unsigned int linum, t_cub *clist) -{ - char *line; - - if (get_next_line(fd, &line) <= 0) - { - ft_memdel(line); - ft_map_error(linum, clist); - } - if (*line) - { - ft_memdel(line); - ft_map_error(linum, clist); - } - ft_memdel(line); -} -- cgit v1.2.3