aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_empty_line.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_check_empty_line.c')
-rw-r--r--src/ft_check_empty_line.c20
1 files changed, 0 insertions, 20 deletions
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 <libft.h>
-#include <cub3d.h>
-
-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);
-}