diff options
-rw-r--r-- | src/ft_get_map.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_get_map.c b/src/ft_get_map.c index 12ab7f7..3844f41 100644 --- a/src/ft_get_map.c +++ b/src/ft_get_map.c @@ -72,8 +72,6 @@ ft_get_map_core(int fd, t_cub *clist) { clist->line_chk += 1; ret = get_next_line(fd, &line); - if (ret < 0) - return (-1); if (!line[0] || ft_check_map_line(line, 0, clist) < 0 || ft_cat_mapl(line, i, clist) < 0) { |