diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 16:39:48 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 16:39:48 +0100 |
commit | 833d1a85f35306bc8e614dd954faaf0031022ce0 (patch) | |
tree | b754fa275baf86a45aa2cddf6d9a9a84fe94ff35 /src | |
parent | I've seen enough (diff) | |
download | 42-cub3d-833d1a85f35306bc8e614dd954faaf0031022ce0.tar.gz 42-cub3d-833d1a85f35306bc8e614dd954faaf0031022ce0.tar.bz2 42-cub3d-833d1a85f35306bc8e614dd954faaf0031022ce0.tar.xz 42-cub3d-833d1a85f35306bc8e614dd954faaf0031022ce0.tar.zst 42-cub3d-833d1a85f35306bc8e614dd954faaf0031022ce0.zip |
Deleted gnl security for norm
Diffstat (limited to 'src')
-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) { |